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
cpetersoncpeterson 

Custom settings, how to package a default value?

Hi all,

 

Is there any way to package a default value for a custom setting? I've tried setting the default value on the field, but when accessed I still get null rather than the default.

 

If there's no way to package a default value, why have an option for visibility of protected?

 

I'm pretty sure I'm missing something simple, help!