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
Ganesh BollinaGanesh Bollina 

I have a PDF file stored in Documents in Salesforce. I need to get the Document from the Document object and render it as a PDF in visualforce page.

I have a scenario where i will upload documents into the Document object and i need to fetch them in a visual force page?
Ramu_SFDCRamu_SFDC
Check this article http://help.salesforce.com/apex/HTViewSolution?id=000113345&language=en_US render the visualforce page as pdf using the attribute renderas='pdf'

Let me know if this worked.

Ganesh BollinaGanesh Bollina
This works fine for the image, but I want to upload a text document and in future the business may be updating that document.