Label (Picklist)

Created by Docs Made Easy, Modified on Mon, 8 Sep at 6:33 AM by Docs Made Easy

Available In: Docs Made Easy Basic and Pro


Parameter Value : Label

Parameter Requirements : The parameter only applies to picklist fields.


Parameter Description : The Label parameter in Docs Made Easy allows you to render the label value of a picklist field instead of its API value.


By default, Docs Made Easy fetches the API value of a picklist field when it is merged into a document. However, in many Salesforce orgs, picklist fields have different API values and label values. If your requirement is to display the label as it appears to end users, you can achieve this using the Label parameter.


Example :


In the above Picklist field, Labels and API's have different values :

Picklist Label
Picklist API
Basic SupportBasic_Support
Standard SupportStandard_Support
VIP SupportPremium_Support



SYNTAXVALUE
OUTPUT
{{Label:ObjectName.FieldAPI}}Premium_SupportPremium Support



EXAMPLE :

After Merging, appears as:


Note:

The Label parameter only applies to picklist fields.

If the picklist label and API value are the same, the output will be identical with or without the Label parameter.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article