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
Abhishek KedariAbhishek Kedari 

Resource bundle in salesforce

Hi,

   Do we have anything like resource bundle in salesforce like we have in java, where I can keep all my replacement strings / constants.
   If yes can you give me the example. I want to access those replacement values from apex code.
    If not what is the alternative way for doing this ?

Thanks,
Abhishek
Deepak Kumar ShyoranDeepak Kumar Shyoran
I think you are looking for Static resource in salesforce which is just like the resourcebundle in Java. In Static Resource you can put your library of code like JS,CSS, Images and other which can easily be used in V.F .
For more details on Static resource please visit :
https://www.salesforce.com/us/developer/docs/pages/Content/pages_resources_create.htm
Sagar PareekSagar Pareek
Hi Abhishek ,
You can use Static Resources for that purpose.