function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vidhya K 14Vidhya K 14 

Running mutiple Drawloop packages in a single click

Hi experts!

I will have to run multiple DDPs in a single click for an Opportunity record. Can I achieve this through Apex?
Please throw some light.

Thanks,
Vidhya
GauravGargGauravGarg

Hi Vidya,

i am not aware of DDP's but as the website suggest this is some kind of Document generation tools.  So yes, we can hit multiple DDP's from Opportunity detail with single click. 

Can you please post the button code which is running single hit. 

NOTE: if DDP too works like Conga Composer, i.e. opening of page and then select template n all. Then might be it not work 

Thanks,
Gaurav
Skype: gaurav62990

Vidhya K 14Vidhya K 14
Hi Gaurav,

Thanks for the response. Yes, it is similar to Conga Composer for generating dynamic documents. My requirement is to have multiple documents generated from multiple Drawloop packages as a result of single button click against an Opportunity record.

Can you please suggest.

Thanks,
Vidhya

 
GauravGargGauravGarg
I might provide you some insight if we can have screen sharing session and you can explain me how it works. 
Divyansh SinhaDivyansh Sinha
Hello @Vidhya K 14,
I am trying to run a DDP using Apex code but unable to do it, do you have any information or sample code for its which I can use for learning perspective, and I also want to know if you got the answer of your question.
Thanks!!!