function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Umesha BP 9Umesha BP 9 

global Value set?

How to access Global value set in visualforce page?
NagendraNagendra (Salesforce Developers) 
Hi Umesha,

It doesn't look like it's possible to access global pick lists in Apex/Visualforce right now. At least, not the same way that you'd access a fieldset or a (Hierarchy) Custom Setting.

The best information I was able to find on this was through the chatter group on the success community for the global/restricted picklist feature. Specifically, this single post (https://success.salesforce.com/loginswitcher?startURL=%2F0D53000002ajdvc) in the group's discussion.

For the time being, it looks like the only way to reference global picklist values in Visualforce would be to create a custom field that uses your global picklist and then reference that field in your Visualforce page.

It's also good to keep in mind that global pick lists are still in an 'open pilot'. Until the open beta begins (looks to be currently planned for Summer '16/ API v37), you'll need to have support activate the feature in production org's if you want to use (in production) what you're working on.

Reference from This Post,
Hope you will be clear. Mark best ANSWER if it's clear.

Thanks,
Nagendra