I have my custom setting object Setting type Hierarchy and visibility Public. with 1 text type field and I want to give access to my custom profiles users. U have assigned the permission to my custom profile but users still not getting the access of the custom setting? How can i assign the proper permission to the user ?
Not sure if that's the answer you're looking for... https://help.salesforce.com/htviewhelpdoc?id=cs_about.htm
To manage, create, edit, and delete custom settings you need: “Customize Application”
If this permission is too powerful you'll have to expose the setting to them - for example as a Visualforce page. There are lots of hierarchy CS examples:
- http://www.infallibletechie.com/2013/04/how-to-display-custom-setting-data.html (that's a list setting though I think)
- I've recently provided one sample in How to retain a selected value of a drop down pick list in home page narrow component after page refresh?
I answered it on your other retain value question. If you have assigned a user to a setting, you should be able to have access to it via APEX. Try to user the fully qualified variable name in your code with namespace that should resolve any access issue.