Where DynamicField value, store ?

Moderator: crythias

Post Reply
eterjack
Znuny newbie
Posts: 55
Joined: 21 Sep 2012, 01:45
Znuny Version: 3.1.10

Where DynamicField value, store ?

Post by eterjack »

Good morning,

Where the OTRS stores the data of field dynamics? When the field is dropdown in dynamic_field_value table, it stores the key value that matches the value. Where is this value stored?
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Where DynamicField value, store ?

Post by crythias »

in the table dynamic_field_value
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
eterjack
Znuny newbie
Posts: 55
Joined: 21 Sep 2012, 01:45
Znuny Version: 3.1.10

Re: Where DynamicField value, store ?

Post by eterjack »

Humm

Look,

table: dynamic_field ->

'20', 'categoria1', 'Categoria 1', '1', 'Dropdown', 'Ticket', ?, '1', '2012-10-04 16:44:28', '2', '2012-10-15 12:17:04', '2'
'21', 'categoria2', 'Categoria 2', '2', 'Dropdown', 'Ticket', ?, '1', '2012-10-04 17:22:23', '2', '2012-10-05 11:29:40', '5'

table dynamic_field_value
id, field_id, object_id,value_text,value_date,value_int
'1563', '21', '430', '1', NULL, NULL
'1562', '20', '430', '1', NULL, NULL

In the categoria1, the value 1 for dropdown is string '1.1 Acesso'. Where is this string is store ?
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Where DynamicField value, store ?

Post by crythias »

I believe that "dynamic_field.config" as a blob holds the values you seek, while dynamic_field_value.value_text would hold the key/index of the entry.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
eterjack
Znuny newbie
Posts: 55
Joined: 21 Sep 2012, 01:45
Znuny Version: 3.1.10

Re: Where DynamicField value, store ?

Post by eterjack »

Thx, crythias..

You rigth..
Post Reply