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
Alex Valavanis 13Alex Valavanis 13 

Generate PDF custom button

Hello,

I want to create a custom button which will give me a pdf document. Fields will come from various objects (not from 1 object...) . Is there a step by step guide or video tutorial?
AbhishekAbhishek (Salesforce Developers) 
Yes, it is possible.

Try the code as mentioned below,

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


For further reference, you can check the below,

https://developer.salesforce.com/forums/?id=906F00000008xXlIAI


Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.
Alex Valavanis 13Alex Valavanis 13
Thank you, but don't understand the script - don't I need to replace object's and fields api??!
AbhishekAbhishek (Salesforce Developers) 
Yes, you have to replace based on your requirement.

The above is Just an example to guide you.
 
asaw FAWasaw FAW
I have tried some custom code to make the button in my website of ecommerce store help. I have started a small blog of ecommerce marketing. You can see here (https://conversionskitchen.com/cj-dropshipping-review-2021-lets-establish-a-dropshipping-business/).
EstherEsther

Check out this post for more detail Create a Detail Page Button on Account to generate PDF (https://arrify.com/generate-pdf-in-salesforce" target="_self).

Steps to generate pdf in Salesforce

  • Create a VF page
  • Create a button to Generate PDF

 

PDF generation in Salesforce (https://salesforce.stackexchange.com/questions/177335/pdf-generation-in-salesforce-conga-alternatives)

Thanks!

 

Mark StvenMark Stven
Is spocket legit for dropshipping (https://wifihustlin.com/spocket-review/)? Can we generate PDF file from shopify dropshipping order of each user?