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

Properties file in salesforce



Can we use properties file which is there in java? If Yes how can we use that?


Thanks in advance....




We have something similar here is Salesforce. Here we call them as Custom Settings. We can store some of the environment variables that you require across the application.

Have a look here


Thanks for Quick Reply Avi......


Other than custom settings we dont have any other option right?

because i gone throgh salesforce pdfs and didn't get any information other than custom settings.


Custom Settings is the most appropriate way to store settings as you would a properties file.
Jerome CallaghanJerome Callaghan

Personally, I think a properties type mechanism would be very useful.  Things that you don't want to have to compile for, but don't want to have a UI for settings kind of things.