AppExtremes Knowledgebase
Contact Us Today: +1 (866) 502-3334
Outside US/Can: +1 (303) 465-1616
 
Reset Search

 

Article

General Output File Parameters for Conga Composer

« Go Back

Information

 
Document Type 
Answer

General Output File Parameters

The following parameters affect the output file generated by Conga Composer.

PARAMETER

DESCRIPTION

DefaultPDF =[0 or 1]

Sets the default output type to Adobe Acrobat

 

  • If set to 0, "Output Format" is "Same as template" (default)

  • If set to 1, "Output Format" is "Adobe Acrobat"

 

The user may override this choice unless the “Lock Output to PDF” parameter (fp0=1) is enabled.

FP0 =[0, 1 or 2]

Locks the output file format

 

  • If set to 0, "Output Format" is "Same as template" and not locked (default)

  • If set to 1, "Output Format" is "Adobe Acrobat"

  • If set to 2, “Output Format” is “Same as template” and the output format radio buttons are locked

 

Then, the Output Format radio buttons are locked.

OFN =[text]

Sets the Output File Name, overriding the default output file name

 

Requires:

A text value to use for the output file name

 

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 filesnames, “\”, “/”, “>”, “<”, etc.

 

Example:

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

 

If the Account name is “ABC Corp.”, the resulting file name would be:

ABC Corp. – Quote.doc

 

Additionally, you may use a special field within the OFN parameter:

{Template.Label}

This can be used in a generic Conga Composer dialog box to refer to the template label (as defined in the Salesforce repository). If using a local template, the filename appears in place of the label.

 

** Note: Internet Explorer 7 will replace spaces in a filename with the characters “%20” if the output file is opened before saving to disk.

 

For example, the file above would appear as

ABC%20Corp. %20-%20Quote.doc

if the file is opened before saving to disk.**
 

Related Issue:   Ampersands within the Data

The Conga Composer URL formula field uses ampersands (&) to identify parameters. If you reference fields that might contain ampersands within the formula, you must replace the ampersands with a substitute value, “{~~~}”. Here's how:

A typical Conga Composer / Conga Workflow formula often references the Account Name field in the OFN parameter. Since some Account Names might contain an ampersand character, use a SUBSTITUTE( ) function in the Conga Composer URL field to handle ampersands within the data, as shown here:

Incorrect:

"&OFN=" + Account.Name

Correct:

"&OFN=" + SUBSTITUTE (Account.Name, "&", "{~~~}"

AttachmentParentId =[id]

Specifies the record in Salesforce to which the output file is attached, when requested. In the absence of this parameter, the default attachment parent record is the Master Object.

 

Also works with Conga Conductor (QMode=2) to control the behavior of the merge operation’s primary output.

 

Requires:

A Salesforce Id of a object to which attachments are allowed.

AWD =[0, 1 or 2]

Assemble Word Documents

 

Assembles the output Word documents before the file is either converted to PDF or delivered to the specified output location. The benefit is unified page numbering and a "seamless" output document.

 

Requires:

All templates must be Microsoft Word.

 

  • If set to 0, Word output files are not assembled, resulting in a ZIP file output (default)

  • If set to 1, Word output files are assembled with a "New Page Section Break" between documents

  • If set to 2, Word output files are assembled with a "Continuous Section Break" between documents

 

Note: Embedded fonts only supported in first template, so the use of embedded fonts is not recommended


SourceDocumentation
ReleaseSummer 11
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       

Feedback

 

Was this article helpful?


   

Your feedback is appreciated.

Please tell us how we can make this article more useful.

Characters Remaining: 255

 

Previous MonthNext Month
SunMonTueWedThuFriSat