You need to sign in to do that
Don't have an account?
tulasi ram 1
custom setting records are not working in target org after installing managed package
Hi I am using Custom settings in visualforce page. And i am creating a managed package included both visualforce pages and custom settings. After installing managed package in target org i am creating custom setting records in target org. But those records are not working why i dont know. please somebody help me on this.
sorry for this issue you are encountering.
May I request you please confirm Is your custom setting in the managed package are protected or public?
I've performed a significant amount of testing with custom settings in a managed package and there is some peculiar behavior when using protected custom settings in a managed package. They more or less don't work, anything that's installed with your managed package (unless it's Apex code) appears to have the namespace part of the reference to the custom setting stripped off and becomes unable to reference the setting.
Note, this doesn't mean your protected custom setting is wholly unusable, you can reference it in the org you installed the managed package into, you just can't reference it from anything that was installed with your managed package (unless it's Apex).
If you change the custom setting to public it will work just fine.
Please let us know if this helps.
Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra