You need to sign in to do that
Don't have an account?

what is purpose of {!REQUIRESCRIPT("/soap/ajax/32.0/connection.js")}
I have a button using onclick javascript with this code:
{!REQUIRESCRIPT("/soap/ajax/32.0/connection.js")}
result = sforce.connection.update([object]);
the button is supposed to send an email. However , the email was not sent, Where to check the issue?
Thanks
{!REQUIRESCRIPT("/soap/ajax/32.0/connection.js")}
result = sforce.connection.update([object]);
the button is supposed to send an email. However , the email was not sent, Where to check the issue?
Thanks
This is is used to establish the connection with salesfroce using javascript.
anyother code is there ?
Thanks
karthik
so what to check if email is not sent in email alert ?
{!REQUIRESCRIPT("/soap/ajax/36.0/connection.js")}
if({!Objectxxx__c.Flag__c} == false)
{
if(confirm("message"))
{
var obj = new sforce.SObject("ObjectXXX__c");
obj.id = "{!ObjectXXX__c.Id}";
....
result = sforce.connection.update([obj]);
if ( result[0].getBoolean( "success" ) )
{
window.location.reload();
}
else
{
alert( result[0].errors.message);
}
}
}
Check is there any workflow rule is associated with this object
Go to WorkFlow rule->select the Object-> if there is any workflow rule-> check there is any email alert immidiate action when the field is updated or created time.
Thanks
karthik
IS this possible in Salesforce Lighting lit page