You need to sign in to do that
Don't have an account?
Sabrent
Document as Staic Resource
Can we only reference image and includeScript in Visualforce page ?
In the static resource called HelpDocuments if I upload a Document I don't see anything in the page, if i upload an image, i see that image.
<apex:page >
<apex:image url="{!$Resource.HelpDocuments}"/ >
</apex:page>
How can i show the document uploaded as a Document in the visualforce page?
Thanks.
Thanks.
Hi,
You can keep doc file in static resource but cannot show on page. As there is not any tag to show file on page.
When ever only img tag to show images and all other tag like script and for style sheet tag for reference for file in Static Resouce. You can give the reference of that file for download.
Thanks
Ashlekh Gera.
Hi
Yes you can keep the file in Document Folder or can attach with attachment object (Notes & Attachment object can be child of every object)
So keep the file in that objects and give the link to user for download.
Thanks
Ashlekh
you can give me kudo's if I helped you in any way.
Well PDF are supported by most of the modern Browsers, If you want o dispay the PDF in page you can consider the object tag
<object data="{!$Resource.HelpDocuments}" type="application/pdf" height="600px" width="100%" > <param name="view" value="fitH" /> </object>