You need to sign in to do that
Don't have an account?
Sanchi9
Creation of Quote PDF based on a field
Hi, so I have got a requirement regarding Quotes. I have to create the quote PDF based on a certain field criteria. If the criteria is selected, a particular template should be generated. Else another quote should be generated. How can this be done?
I was not able to find a similar use case but however, I think you can make use of trigger that can create pdf based on the selected value.
>> https://corycowgill.blogspot.com/2012/02/generating-pdf-in-apex-trigger.html#:~:text=February%2026%2C%202012-,Generating%20a%20PDF%20in%20an%20Apex%20Trigger,templates%20out%20of%20the%20box.
This link has an implementation of creating a pdf from apex trigger, you can modify it to fit your usecase.
Thanks.