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
prady-cmprady-cm 

Downloading a static resource does not save with extension

I have a csv file as a static resource and i am allowing users to download this file using the following.

 

<a href="{!URLFOR($Resource.AccountUploadTemplate)}" target="_blank">Click here </a>

The issue i face is that the download file does not have an extension and file type is File when viewed in windows explorer.

Is there anyway we can force it to save with an extension?

 

 

 

 

Avidev9Avidev9

Try using this instead.

 

<a href="{!$Resource.AccountUploadTemplate}" target="_blank">Click here </a>

 Not sure if this help

ReidCReidC

Why a static resource instead of a document?