Activity Forums Salesforce® Discussions How to get global picklist value set in a Salesforce Visualforce page?

  • PRANAV

    Member
    March 15, 2018 at 1:51 pm

    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.

  • Parul

    Member
    September 18, 2018 at 7:34 pm

    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

  • shariq

    Member
    September 19, 2018 at 9:07 pm

    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.

Popular Salesforce Blogs

Popular Salesforce Videos