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
Admin 123Admin 123 

Is there a way to create the logic for Quote “CREATE PDF” button?

Can we put the logic for the CREATE PDF button wherein this button should only be available when opportunity.status=Approved? ​ Thanks in Advance.
Waqar Hussain SFWaqar Hussain SF
No, We can not put logic on standard buttons. Workaround for this should create a new Custom button and use this button to validate before creating quote pdf. You can then create quote pdf by this button.