+ Start a Discussion
pankaj sharma 19pankaj sharma 19 

update custom picklist values from PHP(Website) to Salesforce

I need to update custom picklist values from PHP(Website) to Salesforce  I can update data (i.e. records)  but is their a way to update THE VALUES IN THE PICKLIST ITSELF FROM the website, as I have the connection establish ann I can access SDFC from m
SharathChandraSharathChandra
So indirectly you want to edit the metadata, Through metadata API i think you will be able to edit the picklist values by using updateMetadata() call. for reference please go through below link.

http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_update.htm



NasipuriNasipuri
Hi Pankaj,

You can do the same by using SFDC Meta Data API.

http://www.salesforce.com/us/developer/docs/api_meta/api_meta.pdf

Thanks,
Dinesh Nasipuri
Dinesh.Nasipuri@gmail.com
SharathChandraSharathChandra
please refer the post at https://developer.salesforce.com/forums/ForumsMain?id=906F000000092wDIAQ
Pavan DavePavan Dave
Yes, you can achieve this.

- You need expose a web service from PHP website.
- Consume that web service in SFDC.
- Every time you load a VF page containing that picklist, controller make a callout to web service and get picklist values.

Hope it works.