Sending Dropdown Displayname in Email Template | Community
Skip to main content
Nina_Carty
Level 3
Jul 15, 2022 4:42 PM UTC
Solved

Sending Dropdown Displayname in Email Template

I am sure I am missing something. I cannot find the syntax to refer to the displayname in a dropdown list. ${mydropdown} gives me the value but I need both the value and the displayname. I've verified that they are both set correctly by using a rule to populate two text fields with them.

Any assistance is appreciated.

@workflowuser 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Nina_Carty
Nina_CartyAccepted solution
Level 3
Jul 26, 2022 12:47 PM UTC

The answer to the issue is that the displayname cannot be used in the email template without first creating a rule to update a text field with it. The text field can then be used in the email template.

11 replies

Nina_Carty
Level 3
Jul 15, 2022 6:34 PM UTC

Yes, we have a list of contacts who are responsible for specific items. Our citizens need to be able to choose a topic and the email with their question will go to the appropriate person.

Dropdown configuration:

Value = contact email

Displayvalue = topic

 

I can send the email using the value but would like to include the topic chosen in the email subject for the person receiving it.

Translate
Employee
Jul 15, 2022 8:32 PM UTC

maybe try something like this for your drop down

John@abc.com,Finance=Finance

Cathy@123.com,Internal Audit=Internal Audit

Then using javascript string manipulations you can extract the email and Department from the value

Translate
Nina_Carty
Level 3
Jul 15, 2022 8:37 PM UTC

After manipulating the values, how do I refer to them in the email?

Translate
Employee
Jul 15, 2022 6:22 PM UTC

looks like you want to include the displayname in the email template? can you please tell us your use case?

Translate
Employee
Jul 15, 2022 6:05 PM UTC

let me check and get back

Translate