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
Patrick DixonPatrick Dixon 

pdfs in static resources

I have some pdfs which I'd like visitors to be able to download from my site.  I've zipped them up and included them in a static resources file and my code is:

 

<p><a href="{!URLFOR($Resource.attunes, 'pdfs/parts%20list_2.pdf')}">ALWSR parts list (pdf 12KB)</a></p>

But the pdfs never get downloaded. Is this possible - what am I doing wrong?

Best Answer chosen by Admin (Salesforce Developers) 
Patrick DixonPatrick Dixon

Thanks.  Uploaded each pdf as a separate static resource and used:-

 

<p><a href="{!$Resource.alwsr_partslist}">ALWSR manual (pdf 837KB)</a></p>

 

and all now works fine.

All Answers

grimviewgrimview

yes your data is secure. you should use files instead.

Patrick DixonPatrick Dixon

Thanks.  Uploaded each pdf as a separate static resource and used:-

 

<p><a href="{!$Resource.alwsr_partslist}">ALWSR manual (pdf 837KB)</a></p>

 

and all now works fine.

This was selected as the best answer