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 

How to create formulae field for display the document attached in Static resources?

Hi Team,

I haveuploaded a ppt document in static resources.
I want to create formula field and display the link which we have uploaded in static resources.

please let me know how can we do this?


Thanks
Lakshmi.
 
Best Answer chosen by Lakshmi S
sfdcMonkey.comsfdcMonkey.com
Hi Lakshmi ,
 go to static resource and copy your file URL 
User-added image

next create a formula field on your object and use following formula :
HYPERLINK('https://lightning-blog-dev-ed--c.ap4.visual.force.com/resource/1527497552000/ppt', 'Download PPT')
put your static resouce file name in above formula 

Thanks, let us know if it helps you