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
gengen 

Properties file in salesforce

Hi,

 

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

 

Thanks in advance....

Regards,

Suma.

Avidev9Avidev9

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
http://help.salesforce.com/help/doc/en/cs_about.htm
http://help.salesforce.com/help/doc/en/cs_accessing.htm

http://blog.jeffdouglas.com/2010/01/07/using-list-custom-settings-in-salesforce-com/

gengen

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.

 

sfdcfoxsfdcfox
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.