Sending Dropdown Displayname in Email Template | Community
Skip to main content
Nina_Carty
Level 3
July 15, 2022
Solved

Sending Dropdown Displayname in Email Template

  • July 15, 2022
  • 3 replies
  • 2020 views

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.
Best answer by Nina_Carty

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.

3 replies

Adobe Employee
July 15, 2022

let me check and get back

Adobe Employee
July 15, 2022

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

Nina_Carty
Level 3
July 15, 2022

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.

Adobe Employee
July 15, 2022

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

Nina_Carty
Nina_CartyAuthorAccepted solution
Level 3
July 26, 2022

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.