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
Kiranpreet KaurKiranpreet Kaur 

Open pdf within salesforce and click button on pdf

I have created a button on editable pdf using acrobat pro dc, on click of this button a javscript code runs which hits a php code. 

I want to open the pdf within the salesforce (I do not want to download the pdf and open in adobe reader annd then click the button.) and clicks that button.

I have open the pdf within iframe on visualforce page button not able to click the button from here.

Please help.
Hemant_SoniHemant_Soni
Hi Kiranpreet Kaur,
I think you need to use renderAs functionality.
Here is The link to known more
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_page.htm
Kiranpreet KaurKiranpreet Kaur
Hemant_Soni,

I dont want to open a visual force page as pdf.

Actually I want to open a pdf(This pdf is an editable pdf) within salesforce and also want to click the button on pdf.