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
Anonymous DeveloperAnonymous Developer 

Need help on creating an LWC that shows the static resource pdf files

Hello everyone, I kindly request assistance in developing a Lightning Web Component that resembles a formal document, displaying a curated collection of manually uploaded static resources in Salesforce. Your expertise and guidance in this matter would be greatly appreciated.
HarshHarsh (Salesforce Developers) 
Hi,
  • You can follow the following link to create lwc using static resources
https://www.sfdcpoint.com/salesforce/use-static-resource-in-lwc/
  • Please refer to the Salesforce help article given below
https://developer.salesforce.com/docs/platform/lwc/guide/create-resources.html 

Please mark it as Best Answer if the above information was helpful.

Thanks.
 
Anonymous DeveloperAnonymous Developer
Hi Harsh, I have previously explored the mentioned approach, but it did not align with the specific solution I am seeking. I am inquiring whether there exists a method to dynamically retrieve all static resources without the need for explicit naming. Any insights or suggestions on this matter would be greatly valued. Thank you for your assistance.