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
sf11sf11 

Button for back to parent detail record

Hi, 

I need to create a custom button on a child detail screen which will take user back to parent record. (from child__c detail page to parent__c detail page).

 

What would be the !URLFOR syntax for this ?  Thanks !

shillyershillyer

Isn't this redundant? The child already has a link back to the parent. But you could make the custom button point to this URL:

 

/{!ParentObject__c.Id}

 

Hope that helps,

Sati