+ Start a Discussion
Naresh.TNaresh.T 

How to update custom fields using scontrol.

Hi,

can one please tell me how to update fields of view detail page using scontrols.I am overiding the standard buttons.

please also provide some sample codes to update the fields using scontrols

Any help would be much appreciated.

Thanks and Regards,
Naresh.T
NazeerNazeer
Hi Naresh,
 
if you have solution for this, please share with me.
 
Thanks,
Nazeer
Chennai, India
TCAdminTCAdmin
Naresh,

http://www.salesforce.com/us/developer/docs/ajax/index.htm should give you some information on using an scrotrol to update records.  If this doesn't give you what you then then you can use the document to do the following.

create a new sobject to hold the data
set the ID of the object by using the merge field for the ID
populate the fields you want to update with new values
save the object
alert any errors that were generated

All of these can be done with experience in JavaScript and with the API documentation.  If you need further assistance you can email me and we can work on details.