Dynamic Field Dropdown value in responses

Moderator: crythias

Locked
oli99
Znuny newbie
Posts: 3
Joined: 10 Apr 2014, 13:28
Znuny Version: 3.1.12

Dynamic Field Dropdown value in responses

Post by oli99 »

I would like to include the value of a Dropdown dynamic field in a response (email)
I managed to include the key of the dropdown by using the following syntax : <OTRS_TICKET_DynamicField_MyFieldName>
But I am not able to retrieve the related "value" in my drop down.

Best regards.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Dynamic Field Dropdown value in responses

Post by crythias »

then make key=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
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Dynamic Field Dropdown value in responses

Post by reneeb »

Use <OTRS_TICKET_DynamicField_MyFieldName_Value>
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
oli99
Znuny newbie
Posts: 3
Joined: 10 Apr 2014, 13:28
Znuny Version: 3.1.12

Re: Dynamic Field Dropdown value in responses

Post by oli99 »

Thank you reneeb, I had already tried this (<OTRS_TICKET_DynamicField_MyFieldName_Value>) but it is not working for me. I am using version 3.1.12, maybe I need to upgrade to make it work?

Crythias, I perfectly understand I can set key=value, this is not the best solution for me, for several reasons:
- In some cases I need both values (key and value).
- Value may change frequently, if I change the keys I will have to update the tickets
- etc...
I will do that if I do not have another solution.

Best regards.
oli99
Znuny newbie
Posts: 3
Joined: 10 Apr 2014, 13:28
Znuny Version: 3.1.12

Re: Dynamic Field Dropdown value in responses

Post by oli99 »

I confirm the syntax <OTRS_TICKET_DynamicField_MyFieldName_Value> is working in version 3.3.6.
Thank you all.
Locked