Refine Merge Fields with Parameters in PDF Templates
You can tune Conga Composer’s behavior when merging to PDF with field parameters. One of the following parameters may be appended to the end of a merge field within parentheses.
Parameter |
Description |
---|---|
Date |
Formats a field value as a date, if possible.
The format code in Example 2 is enclosed in quotes because it contains spaces |
Currency |
Formats a field value as currency according to the Salesforce Locale (or Conga Composer parameter CurrencyCulture), including currency symbol, digit grouping (“thousands separator”) and two decimal places.
If the Amount field contained 5280.25 and the Locale is set to “English (United States)”, this parameter would format the value as $5,280.25 |
Numeric |
Formats a field value as a number, if possible.
The format code is enclosed in quotes because it contains spaces. For percentage in PDF ensure the merge field is (Numeric ##) and that the format option in PDF is 'percentage'. |
- You must enter a space between the parameter name and the format code when using the Date or Numeric parameter.
- Don’t enter a comma between the parameter name and the format code.