Sometimes it is helpful to see a complete Conga Composer URL to fully comprehend how to assemble various parameters. Here are three examples. The base button URL is shown in the normal text; the parameter examples are shown in bold.
Simple Example
This button URL includes parameters that enable PDF encryption (ps0=1) and PDF printing (ps1=1). Additional parameters disable the Log Activity button (ds3=1), set the template (TemplateId), and lock the template choice (ds4=1) so that the end-user can't override it.
These examples use non-OAuth buttons. In Salesforce Lightning, you must use the OAuth buttons.
Example:
https://composer.congamerge.com
?SessionId={!API.Session_ID}
&ServerUrl={!API.Partner_Server_URL_290}
&Id={!Contact.Id }
&PS0=1
&PS1=1
&DS3=1
&TemplateId=0014432553FB
&DS4=1
Multiple Reports
This URL includes four reports (ReportId) with aliases, specifies a template (TemplateId), and completes an Email To field (EmailToId) dynamically using the record's field content.
Example:
https://composer.congamerge.com
?SessionId={!API.Session_ID}
&ServerUrl={!API.Partner_Server_URL_290}
&Id={!Contact.Id}
&ReportID=[Tasks]00O50000001NGuW,
[Events]00O50000001O2gr,[Partners]00O50000001NGv5,
[Escalations]00O50000001NGvL
&TemplateId=01H500000005z4L
&EmailtoID={!Contact.Id}
Background Mode
This example URL includes a report (filtered by the Account ID), specifies a template (TemplateId), enables the Background Mode that attaches the document (ds7=1), and forces the output to Adobe Acrobat format (fp0=1).
Example:
https://composer.congamerge.com
?SessionId={!API.Session_ID}
&ServerUrl={!API.Partner_Server_URL_290}
&Id={!Opportunity.Id}
&ReportId=[AllContacts]00O50000001OAA2?pv0={!Opportunity.AccountId}
&TemplateId=01H500000005xop
&DS7=1
&FP0=1