• Mohit Gupta 125
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies

I want to pick all values of a particular field which is a 'PickList' (say the field name is ABC)

I tried using the below query which this field is part of (say XYZ).

My query is

Select toLabel(ABC)  FROM XYZ 

But this is only giving me those Picklist values which are part of XYZ/ or selected at least in one of the XYZ item.

I want the entire master list of PickList values of ABC.

How can I do it using SOQL?
Thanks
 

I want to pick all values of a particular field which is a 'PickList' (say the field name is ABC)

I tried using the below query which this field is part of (say XYZ).

My query is

Select toLabel(ABC)  FROM XYZ 

But this is only giving me those Picklist values which are part of XYZ/ or selected at least in one of the XYZ item.

I want the entire master list of PickList values of ABC.

How can I do it using SOQL?
Thanks
 

Hi All,

I know that it's possible to call apex methods through the API or maybe something like that with executeAnonymous().
However, I am not really sure about that, so my question is if it's possible to call apex methods and get the result through the API or another way out salesforce?
If it's possible could you tell me how?

Thanks in advance.