Skip to main content
Conga Support

OFN

 

Output Parameter

Active 1

Release 7

1  Release 8

OFN

Parameter Value: [text and/or merge field]

&OFN={!Account.Name}+-+Quote

Output File Name

Sets the Output File Name, overriding the default name of the file.

You may use static text or merge field names for the values to place in the filename. Use a plus sign (+) to represent literal spaces.

Do not include symbols unsupported in filenames,:,#,", \, /, >, <, etc.  Character length is from 2 to 80 characters.

Multiple Templates

When merging multiple templates, you may optionally designate individual output file names for each template by including the output file name in brackets before the template Id specified:

&TemplateId=[Invoice+with+Discount]00143532453dg3B,[{!Account.Name}+Terms+and+Conditions]001435121234499

The following special fields can also be used as the value of the OFN parameter:

{Template.Label}

This special field refers to the template label or template name (as defined in the Conga Template record or the Salesforce template repository). If using a local template, the filename appears in place of the label.

{Template.Id}

This special field refers to the 15 character Salesforce ID of a Conga Template or Salesforce template repository record. It does not apply to local templates.

Internet Explorer 7 will replace spaces in a file name with the web--safe characters %20 if the output file is opened before saving to disk. For example, the file in the usage example above would appear as ABC%20Corp.%20-%20Quote.doc if the file is opened before saving to disk.

Output, file, name, naming

  • Was this article helpful?