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
MikeSFMikeSF 

Include a pdf static resource in a Visualforce page

Hi,
I need to include a pdf document in a visual force page, we have a number of page templates, all in pdf documents, I can upload these as a static resource but then how are they referenced in the visual force markup?

Including imges is easy by using <apex:image . . . but what is the markup for including a pdf?

Thanks is advance,
Mike
 
Best Answer chosen by MikeSF
viruSviruS
Or look at   http://salesforce.stackexchange.com/questions/24304/display-pdf-stored-in-static-resources-in-vf-page  

All Answers

viruSviruS
https://help.salesforce.com/apex/HTViewSolution?id=000044612&language=en_US

use iframe tag and url from the static resource ..get url by clicking on view file of static resource or .. just put pdf's as documents and use url of that document 
viruSviruS
Or look at   http://salesforce.stackexchange.com/questions/24304/display-pdf-stored-in-static-resources-in-vf-page  
This was selected as the best answer
MikeSFMikeSF
Great thanks very much