You need to sign in to do that
Don't have an account?
vickim1.396005552708281E12
Retrieve field options via API SOQL
Hi Guys,
I am currently creating a custom form on our personal website, the form mimics the opportunity form, and we create new opportunities from the form submission.
I need to be able to retrive the Picklist field options from saleforce into our forms dropdown (some of the Picklist fields are custom fields), is there a way to do this, please keep in mind I cant just copy the choices from salesforce to our platform as the admin are always adding new choices to the Picklist in salesforce.
Thank you.
I am currently creating a custom form on our personal website, the form mimics the opportunity form, and we create new opportunities from the form submission.
I need to be able to retrive the Picklist field options from saleforce into our forms dropdown (some of the Picklist fields are custom fields), is there a way to do this, please keep in mind I cant just copy the choices from salesforce to our platform as the admin are always adding new choices to the Picklist in salesforce.
Thank you.
Make a call to following REST Endpoint
It will return you all the field details with required picklist values as well, for ex. Lead Source values will be in this format in JSON response :
Thats worked great, I seem to be getting alot of fields back though, is there a way to say only give me 1 fields options by passing the filds name?
also do you have the api link for this .
Thank you