You need to sign in to do that
Don't have an account?

Open a PDf file attached to a Opportunity in VF on click of a file
Hello,
On an Opportunity i have Files sections, where user can upload any file fr example PDF.
My usecase is that, when the user clicks on the file, the pdf opens in Visualforce page.
Is there any solution possible,
thank you in advance.
On an Opportunity i have Files sections, where user can upload any file fr example PDF.
My usecase is that, when the user clicks on the file, the pdf opens in Visualforce page.
Is there any solution possible,
thank you in advance.
Saving a PDF is so simple with Visualforce simply utilize
<apex:page> with the attribute renderAs=”pdf”. Please check the following class .