Attributes of Template Designer | Description |
---|---|
Name | This column displays the names of the templates and is unique. You can select only one template at a time. |
Description | This column displays the description of the current template. |
This column displays all the associated templates. | |
This option allows you to create a new layout. | |
This option allows you to revert the changes in the layout. | |
Source | This option enables you to view the template in the Source Code. Click on the Source button to view the Source Code Editor in the Template Designer. For more information on using functions in your template designer, see Using Output Document Functions. To add a signature to your template, see Widget Functions. |
This option enables you to add a field label, field value, or field API name on the template designer. Click the field and then click the + icon to display the Insert Label, Insert Value, and Insert API Name options. |
Options | Description | ||||
---|---|---|---|---|---|
Insert Label | This option inserts the label format of the chosen field in the template designer. The format is $M.Object_API_Name.Field_API_Name.label. Example: The Insert Label option on the Billing Type field is displayed as follows:{{$M.Work_Order.SVMXC__Billing_Type__c.label}} In the Output Document, this format displays the label of the field, which is Billing Type. | ||||
Insert Value | This option inserts the value format of the chosen field in the template designer. The format is $D.Object_API_Name.Field_API_Name.label. Example: The Insert Value option on the Billing Type field is displayed as follows:{{$D.Work_Order.SVMXC__Billing_Type__c.label}} In the Output Document, this format displays the value of the Billing Type field. For example, Contract, Paid. | ||||
Insert API Name | This option inserts the format for API name display for the picklist or multi-picklist value.
The format is $D.Object_API_Name.Field_API_Name.value. Example: The Insert API Name on the Billing Type field is displayed as follows: {{$D.Work_Order.SVMXC__Billing_Type__c.value}}. In the Output Document, this format displays the API name of the Billing Type field value. For example, if the Billing Type is Contract, it displays Contract which is the API Name of the value Contract as displayed in the following screen. API name without attribute .value: Field format without the attribute .value displays the API name of the field. For example, {{$D.Work_Order.SVMXC__Billing_Type__c}} format in the template designer displays the API name of the Billing Type field value.
For more information about using the IF conditional functions for the picklist fields, see Conditional Functions. |