답변 1개
Hi, Please find the below Sample code,
Paste the above code in Custom button which executes Javascript. This code updates the Custom Checkbox field of Account record. Thanks,Vinoth{!REQUIRESCRIPT("/soap/ajax/32.0/connection.js")}
var account = new sforce.SObject("Account");
account.id = "{!Account.Id}";
account.CheckeboxCustom__c = true;
result = sforce.connection.update([account]);
window.location.reload();