I have a button on click it opens a new window with conga composer and I have to select a template and have to select merge option but my requirement is on click a pdf is attached to the record automatically
closed as off-topic by Eric, Jenny B, cropredy, Boris Bachovski, Chris Duncombe Jul 16 '15 at 23:38
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Programming questions not specific to Salesforce are off-topic here, but can be asked on Stack Overflow." – Eric, Jenny B, cropredy, Boris Bachovski, Chris Duncombe
Pavan, You can achieve this with background mode (&DS7=1). You'll first need to define the template with &TemplateID= [ID of the desired template] in your button.
Here's some more information on best practices for using background mode. Parameter Deep Dive: Background Mode Using DS7
If you have any trouble give us a shout at email@example.com.