You need to sign in to do that
Don't have an account?
bhanu_prakash
Fetch list of custom settings need to display in Vfpage
Hi,
Iam looking to fetch all list of custom settings and need to display in Vfpage
i have verifed and found that we can call one custom settings and refer in vf page
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_custommetadatatype__mdt.htm
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_custom_settings.htm#apex_methods_system_custom_settings
But I need to fetch list of custom setttings .. How can i acheive it ?
Iam looking to fetch all list of custom settings and need to display in Vfpage
i have verifed and found that we can call one custom settings and refer in vf page
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_custommetadatatype__mdt.htm
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_custom_settings.htm#apex_methods_system_custom_settings
But I need to fetch list of custom setttings .. How can i acheive it ?
You need to use Schema.getGlobalDescribe then ceck if customSetting.
Bellow is code sample.
Let me know if any query
http://www.infallibletechie.com/2013/04/how-to-display-custom-setting-data.html