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
Brad HuffmanBrad Huffman 

Where to store application settings?

Question for the experts...

Where/how are people storing application config/settings/preferences (call it whatever you want)?  It's easy enough to create a simple config object that has fields for the various settings, and I suppose I could do something to ensure that there was just a single record ever created, and that record was the one that was always editted, but...  Am I missing something?  If this is the preferred method then so be it.  Just wanted to see what people are doing.
Best Answer chosen by Admin (Salesforce Developers) 
werewolfwerewolf
I stored mine in my own app's settings custom object which I put an Apex trigger on to ensure that there's only one of them.

All Answers

werewolfwerewolf
I stored mine in my own app's settings custom object which I put an Apex trigger on to ensure that there's only one of them.
This was selected as the best answer
Brad HuffmanBrad Huffman
As I suspected.  Just making sure, there wasn't some super secret place that only the pros new about for storing those.  ;) Thanks for the response.