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
Lakshmi SLakshmi S 

Display Pdf file link in Visualforce page ?

Hi Team,

We have overiding Standard functionalities New and Edit using Visualforce pages. I want to display the pdf file link in New and Edit pages (we are storing pfd file in Static Resources).

Please let me know , how can we do this?

Thanks
Lakshmi
 
Avishek Nanda 14Avishek Nanda 14
Hi Lakshmi,

Typically, static resources is used for files that will need to be transferred between orgs. Often, images are put here that are used within code, Javascript, CSS, or documents that code might reference.

Question: What do you mean by Display Pdf file link in Visualforce page ? Do you mean adding the file to related record ? Explain the detail use case in-order to give you answer. 

Regards,
Avishek Nanda
Lakshmi SLakshmi S
Hi Avishek Nanda,

Display Pdf file link in Visualforce page (New & Edit pages).

Thanks.
Lakshmi