Activity › Forums › Salesforce® Discussions › How to get global picklist value set in a Salesforce Visualforce page?
Tagged: Global Picklist, Global Picklist Value set, Salesforce Visualforce, Salesforce Visualforce Page
-
How to get global picklist value set in a Salesforce Visualforce page?
Posted by kapil on March 15, 2018 at 12:45 PMHow to get global picklist value set in a Visualforce page?
shariq replied 7 years, 7 months ago 4 Members · 3 Replies -
3 Replies
-
Hi Kapil,
It doesn’t look like it’s possible to access global picklists in Apex/Visualforce right now. At least, not the same way that you’d access a fieldset or a (Hierarchy) Custom Setting.
Hope this helps you.
- [adinserter block='9']
-
I am adding some points:
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.
Thanks
Thanks
-
Hi,
Note – It’s also good to keep in mind that global picklists 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 orgs if you want to use (in production) what you’re working on.
Hope this helps.
Log In to reply.