I find myself constantly writing a field template to ensure that a non-Name field gets hyperlinked to the Id of the record. This approach has its shortcomings and also required customized HTML, etc.
Would like to see support added to a component field to “treat” it as a nameField whereby the field in read/readonly mode woulda automatically be wrapped in a hyperlink to the Id of the record. This would behave exactly the way the “Name” field does today, just be configurable to apply to any field. I could see this working as a field metadata override (preferred so that you only need to do it in once place) as well as a component field option.
Several different options for achieving this behavior, but adding a declaritive option would greatly simplify the experience and avoid requiring HTML or JS.
Use Case - All of our “Name” fields in our custom objects are auto-numbers and we use an SObject specific field for the “Name” (e.g. it might be called Description__c, it might be called Code__c, it might be called Number__c, etc.). Anywhere we want to “link” to the SObject, we either need a template or custom renderer currently. Adding a config option brings us to clicks not code.
Thank you!
Add declaritive support for marking a field to be hyperlinked to Record Id (e.g. treat it like a nam
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
