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
Meggan Landis 1Meggan Landis 1 

How do you create a pdf of related objects to an opportunity record?

Hi everyone-
Full disclosure, I'm not a coder so if you offer help, could you please be VERY specifi with where and how this would work? I am using opportunities. I have a custom object called 'Referents' linked to my opportunities through a lookup field (Referents is a related list on my Opportunity page layout). There can be multiple referent records linked to one opportunity. I have built a visualforce page to create a pdf that includes all of my opportunity fields, but I'm hoping to also create something that will allow me (with a click of a button) to generate a pdf of all referent records associated with an opportunity. I'm assuming some type of loop would need to be included so that every referent record could be added to the pdf. Can anyone help? Is this even possible? Thank you!!!

Meg
Nalini ch 6Nalini ch 6
Hello 

It looks like our team of experts can help you resolve this ticket. We have Salesforce global help-desk support and you can log a case and our Customer Success Agents will help you solve this issue. You can also speak to them on live chat. Click on the below link to contact our help-desk. Trust me it is a support service that we are offering for free!

https://jbshelpdesk.secure.force.com

Thanks,
Jarvis SFDC team
AbhishekAbhishek (Salesforce Developers) 
Hi Landis,

I suspect your query is answered in the below blog,

https://developer.salesforce.com/forums/?id=9060G0000005UWDQA2

https://success.salesforce.com/answers?id=90630000000hTXHAA2


I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.