Activity › Forums › Salesforce® Discussions › What are the static resources in Salesforce?
Tagged: Data Storage, File Size, File Upload, Image Upload, Salesforce Visualforce Page, Static Resource in Salesforce
-
What are the static resources in Salesforce?
Posted by chanchal kumar on July 30, 2018 at 1:35 PMWhat are the static resources in Salesforce?
shariq replied 7 years, 8 months ago 5 Members · 4 Replies -
4 Replies
-
Hello Chanchal,
Static resources allow you to upload content that you can reference in a Visualforce page, including archives (such as .zip and .jar files), images, style sheets, JavaScript, and other files. A single static resource can be up to 5 MB in size. An organization can have up to 250 MB of static resources. Static resources apply to your organization’s quota of data storage.
Thanks.
- [adinserter block='9']
-
Hi Chanchal,
Static resources allow you to upload content that you can reference in a Visualforce page, including archives (such as .zip and .jar files), images, style sheets, JavaScript, and other files. Using a static resource is preferable to uploading a file to the Documents tab because:
- You can package a collection of related files into a directory hierarchy and upload that hierarchy as a .zip or .jar archive.
- You can reference a static resource by name in page markup by using the $Resource global variable instead of hard coding document IDs.
-
Hi,
Static resources allow you to upload content that you can reference in a Visualforce page, the user interface in a Visualforce base can display dynamic content the value of which keeps changing based on user responses. But there are times when we need some content which should not change with the change in values of other components in the page. For example, an image file may be required to remain constant. Such content which cannot be changed in a page is known as a static resource.
Following are a few static resources in Salesforce −
Images
Javascript Files
Flash files
CSS filesThanks
-
Hi,
Static Resource – It is kind of a memory where you save/upload content that you can reference in a Visualforce page, including archives (such as .zip and .jar files), images, style sheets, JavaScript, and other files.
Hope this helps.
Log In to reply.