You need to sign in to do that
Don't have an account?
crocodile
How to add Close Case botton....
Hi,
Can any one please tell me how to add a close case button or its functionality in my custom object "SDMK"? So that the customers can close cases. (Like Close Case button in Cases tab)
Thanks in adv,:smileyhappy:
-VNath
Like this?
http://blogs.salesforce.com/support/2008/07/the-quick-case.html
Thanks for ur quick reply...
The link is for replacing a Standard close button with custom button.
But what i want is to add a button to the custom object SDMK. So that when the button is clicked... that particular record should be closed. Just like the close case button function in cases tab
Any suggestions are welcome...
Thanks in adv,
-VNath
Hi Werewolf,
Getting an error while creating custom button to my Custom Object: Field Service_Management.Id does not exist
My Custom Object details:-
Object Name: Service_Management
API Name: Service_Management__c
The Java Script code:
{!REQUIRESCRIPT("/soap/ajax/13.0/connection.js" )}
var smObj = new Service_Management__c();
smObj.Id = '{!Service_Management__c.Id}';
smObj.Status = 'Closed';
var result = sforce.connection.update([smObj]);
if (result[0].success=='false') {
alert(result[0].errors.message);
} else {
location.reload(true);
}
Please guide me to rectify this error!!!