Skip to main content
Conga Support

Refine Merge Fields with Parameters in PDF tempates

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

* Requires:   A date formatting code.

Master.LastModifiedDate(Date MM/dd/yyyy)

If the Last Modified Date field contained 03/03/2008 09:05 AM, this parameter would format the date as 03/03/2008

Master.LastModifiedDate(Date “MMMM d, yyyy”)

If the Last Modified Date field contained 03/03/2008 09:05 AM, this parameter would format the date as March 3, 2008

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.

Master.AMOUNT(Currency)

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.

* Requires:   A numeric formatting code (see Formatting Numeric Values)

Master.NumberOfParticipants(Numeric #,##0)

If the Number of Participants field contained 5280, this parameter would format the value as 5,280

Master.Height (Numeric “#,##0 feet”)

If the Height field contained 5280, this parameter would format the value as 5,280 feet

The format code is enclosed in quotes because it contains spaces

 

  • 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.