Conga Composer lets you to create documents from a button or link placed on a
Salesforce.com page layout. It merges Salesforce.com data with Word, Excel, PowerPoint,
email, or PDF templates to create finished documents.
Benefit Of Conga Composer
If we need to use some related object's record then Conga Query Manager is necessary otherwise Conga Composer is enough.
How to Install Conga Composer
Go through this link for installation .
http://knowledge.appextremes.com/appextremes/ext/kb110-how-to-install-conga-composer
How to Install Conga Query Manager
Go through this link for installation .
http://knowledge.appextremes.com/appextremes/ext/kb611-how-to-install-conga-query-manager
We already have some sample design in our local drive which signifies how the information will be presented , If we don't have then we will make one using word or anything else.
Now we will create Conga Template and Conga Query.
Creating Conga Template
Click New button on Conga Template to create one template
After template creation ,click on AttachFile button to attach some sample template from your local drive.
Creating Conga Query
If we have to display some related object record then we have to create conga query to pull data from salesforce, here we can define as many query as want.
Benefit Of Conga Composer
- Easily create and deliver customized documents,
- Presentations and reports using Word, PowerPoint, Excel, HTML email and PDF forms from standard & custom objects.
- Generate quotes, proposals, account plans, invoices, contracts, letters & more.
- Conga Composer
- Conga Query Manager.
If we need to use some related object's record then Conga Query Manager is necessary otherwise Conga Composer is enough.
How to Install Conga Composer
Go through this link for installation .
http://knowledge.appextremes.com/appextremes/ext/kb110-how-to-install-conga-composer
How to Install Conga Query Manager
Go through this link for installation .
http://knowledge.appextremes.com/appextremes/ext/kb611-how-to-install-conga-query-manager
We already have some sample design in our local drive which signifies how the information will be presented , If we don't have then we will make one using word or anything else.
Now we will create Conga Template and Conga Query.
Creating Conga Template
Click New button on Conga Template to create one template
After template creation ,click on AttachFile button to attach some sample template from your local drive.
Creating Conga Query
If we have to display some related object record then we have to create conga query to pull data from salesforce, here we can define as many query as want.
There is field called SOQL Select Statement where we have to write query.
For example query will be like this
SELECT invoiceit_s__Accounting_Code__c, invoiceit_s__Charge_Date__c, invoiceit_s__Service_End_Date__c, invoiceit_s__Service_Start_Date__c, CreatedById FROM invoiceit_s__Invoice_Lines__c WHERE invoiceit_s__Invoice__c = '{pv0}
Here we are querying data from invoice lines that means button must be in invoice page.
There are two different approach for generating document.
There are two different approach for generating document.
- By Clicking a Button
- Some Automation process by using Work flow
By Clicking a Button
- Create a custom button on master object
- Choose content source as URL
- paste this code
https://www.appextremes.com/apps/Conga/PointMerge.aspx?SessionId={!API.Session_ID}
&ServerUrl={!API.Partner_Server_URL_80}
&Id={!Credit_Note__c.Id} //object id where button is present
&DefaultPDF=1
&PartnerCode=0015000000Yd8nM // optionals
&EmailReplyToId{!User.Id}
&EmailToId={!Credit_Note__c.Billing_ContactId__c}//to whom emil is going
&EmailRelatedToId={!Credit_Note__c.Id}//object id where button is present
&TemplateId=a0mb0000000KYO0 // conga templae id which you have created
&QueryID=[CreditLines]a0nb0000000zgUE //conga query id, you can give many query id by using comma
How to use Conga Composer
Go through this pdf
Automation Process
- Create one formula field and one checkbox field on mater object.
- When that check box is true then workflow will be fired.
- Create a email template through which email will be going to the customer.
- In the formula field paste this code
"&Id="+Id
+"&TemplateId=a0pW000000335Xt" //conga template id
+"&EmailTemplateId=00XW0000000M8Hp" //the emailtemplate id which you have created
+"&QMode=3"
+"&DefaultPDF=1"
+ "&EmailToId=" + invoiceit_s__Billing_Contact__c
+"&QueryID=a11W0000000ov1y,a11W0000000ov1t" //conga query id
+"&EmailRelatedToId="+Id
- Create work flow and an outbound message.
- Give End point Url as https://workflow.appextremes.com/apps/Conga/PMWorkflow.aspx.
- Select that formula field Account fields to send to selected fields.
- Click on Save
For more information about salesforce conga work flow , please go through this pdf