Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have created a custom setting with visibility as protected. And now i want it to make the visibility to public. But when i edit the custom setting the visibility option is greyed out.

How could i change it to public?

Do i need to delete the current custom setting and create a new one with the public visibility?

What would if i have lot of data stored in custom setting and at a later stage want it to change to public?

enter image description here

share|improve this question
up vote 8 down vote accepted

You can't change the visibility once set. If you need to change it, you must create a new custom setting. If you need to retain the data, you will need to copy the data. If this in a managed package, you can set an install handler script up migrate the data. If it is not a managed package, this setting has no effect, and there is no reason to change the visibility.

share|improve this answer
Thanks sfdcfox. I need to delete the current one and going to create a new one. – Baskaran S Apr 25 '14 at 17:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.