You need to sign in to do that
Don't have an account?
sri123
Reg: Field Update
Hi, Morning...
I created a custom application with a list button name "Attended".
When i click on this button i would like to update my field name 'Status' with the field value "Attendend"..
Can u help me regarding to this....
Regards:
REKHA
Hi,
As per my understanding, from the list view you want to update the selected records.
Make the changes accordingly with the object and fields you have.
In the List button javascript code, add this
{!REQUIRESCRIPT("/soap/ajax/20.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/20.0/apex.js")}
var selectedRecords = {!GETRECORDIDS( $ObjectType.Common_Usage__c )};
var result = sforce.apex.execute('CommonUsageController','updateStatus',{arg: selectedRecords});
-------------------------------------------------------------------
You should create a global class and add this method to it.
Sir,
Can the same logic be implemented with detail page button??