function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JAW99JAW99 

Custom Task Button RET URL FAIL

Hi I'd like to build a custom button to replace the "Log a Call" button so I can rename it something clearer to some users but upon save it does not return to the custom object it originates from.

 

 first is the SF url when using std Log a Call:

 

https://na2.salesforce.com/00T/e?title=Call&what_id=a19xxxxxxxxxHH&followup=1&tsk5=Call&retURL=%2Fa19xxxxxxxWHH

 

Next is my custom URL:

 

https://na2.salesforce.com/00T/e?title=Call&what_id={!Customoject__c.Id}&followup=1&tsk5=Call&retURL=%{!Customoject__c.Id}

 

Any suggestions on whyret url is always useless home?

JAW99JAW99

fixed:

retURL=%2F{!Ecommerce_Visit__c.Id}