Salesforce Formula field to download the file

Below formula can be used

HYPERLINK("/sfc/servlet.shepherd/version/download/"&ContentVersionId, "Name" ,"_blank")

ContentVersion Id starts with 068.

ContentDocument Id starts with 069.

No comments:

Post a Comment