• botts
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I created an email button in a custom object which works fine, except when I click on send or cancel, it does not loop back to the previous page ie the custom object. 

 

Here is the code:  

 

location.replace('/email/author/emailauthor.jsp?retURL=/{!Gift_Requests__c.Name}&p3_lkid={!Gift_Requests__c.Id}&rtype=003&p4={!Opportunity.OwnerEmail}&p2_lkid=0037000000g3KpE&template_id= 00X700000017qEN ');

 

Can someone tell me what's missing so when the user clicks on cancel or send it loops back to the custom object.

 

 

  • February 26, 2010
  • Like
  • 0

I created an email button in a custom object which works fine, except when I click on send or cancel, it does not loop back to the previous page ie the custom object. 

 

Here is the code:  

 

location.replace('/email/author/emailauthor.jsp?retURL=/{!Gift_Requests__c.Name}&p3_lkid={!Gift_Requests__c.Id}&rtype=003&p4={!Opportunity.OwnerEmail}&p2_lkid=0037000000g3KpE&template_id= 00X700000017qEN ');

 

Can someone tell me what's missing so when the user clicks on cancel or send it loops back to the custom object.

 

 

  • February 26, 2010
  • Like
  • 0