button, which should navigate to the related record. Basically, it works like lookup field but has custom text. The problem is that it always open in new tab, even when I set the Behavior to Display in existing window. I used this formula on the link:
one.app#/sObject/{!Object_A__c.Related_Object_ID__c}/view
Any suggestions how can I open this in the same tab, ideally without refreshing whole page?
3 respuestas
You can use the HYPERLINK() function in a formula text field to build a 'clickable' field on the UI.
HYPERLINK('/' + theRelated__r.Id, theRelated__r.ZipCode__c ' ' + theRelated__r.Hobby__c , 'clickhere')