10

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

1 Answer 1

10

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.

1
  • Thanks sfdcfox. I need to delete the current one and going to create a new one.
    – Bforce
    Apr 25, 2014 at 17:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .