You need to sign in to do that
Don't have an account?
anvesh@force.com
please correct below URL code for buttton ?
I have created a LogAcall button on opportunity page....when we click it opens Task page to create. after saving the Task record i want to land on Opportunity record. The 'retUrl' is not working to land 'opportunity object home page'. (means i want to land on here on save 'https://cs16.salesforce.com/006/o')
/00T/e?who_id={!Contact.Id}&RecordType={!Task.RecordTypeId}&tsk6={!Opportunity.Description}&tsk1={!User.Name}&tsk13 = 'Normal'&00N40000002dXt2 = {!Opportunity.Product_Interest__c}&tsk3= {!Opportunity.Name}&tsk3_lkid ={!Opportunity.Id}&tsk4={!Opportunity.Follow_Up_Date__c}&tsk5={!Opportunity.Name}&returl=/006/o
/00T/e?who_id={!Contact.Id}&RecordType={!Task.RecordTypeId}&tsk6={!Opportunity.Description}&tsk1={!User.Name}&tsk13 = 'Normal'&00N40000002dXt2 = {!Opportunity.Product_Interest__c}&tsk3= {!Opportunity.Name}&tsk3_lkid ={!Opportunity.Id}&tsk4={!Opportunity.Follow_Up_Date__c}&tsk5={!Opportunity.Name}&returl=/006/o
Try like below.
/00T/e?who_id={!Opportunity.Primary_ContactId__c}&what_id={!Opportunity.Id}&tsk4={!Opportunity.Next_Step_Date__c}&tsk5={!Opportunity.NextStep}&tsk12=Completed"&retURL=%2F{!Opportunity.Id}
OR
Check the below link.
https://success.salesforce.com/answers?id=90630000000hE5AAAU