function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
madbarbermadbarber 

update field

HI,

I'm gonna write a new application that is supposed to update one single field in an existing lead or contact. Lets say there's a contact with the email xxx@zzz.com and i would like to update just one field, e.g. "will atemd seminar". How can I do this? Is there a way to just send html post data to update single fields or which way do i need to go from here?
Thank you for your help!
Ron
sf_davesf_dave
Hi Ron,

I'm not sure if your email is unique within your salesforce data but I would query salesforce for the Id of the user you want to update, then call an update command on that user setting the checkbox to either 'true' or 'false'

-Dave
madbarbermadbarber
Hi Dave,

Thanks for your reply! Uhm yes, the email would be unique in sales force. How would I get the ID and then 'call an update command'? I'm working with php and html. Is this possible? What should i look for?

Thanks,
Ron