Ask Search:
Gail HallettGail Hallett 

Return URL to related list

I've got a custom button on a contact that I would like to return to the Contact's Opportunity related list. I've tried:

retURL=%2F{!Contact.Id}%23{!Contact.Id}_RelatedOpportunityList_target but this only returns to the Contact and not down to the related list. 
Adam MarksAdam Marks
Try this:

/{!Contact.Id}#{!Contact.Id}_RelatedOpportunityList_target

I got it working as a stand alone URL button.


Edit: Changed Account to Contact. I just did an Account test but it should work the exact same way with Contacts.