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
RonSFRonSF 

Can I create a link to another object in the text area field of another object

Hi 

Can I create a link to a record of another object  in the text area field of another object. So that when user clicks on the link in the text area box and get redirected to that specific record of another object . I need to implement this in Apex code.

IS this doable ?

Thanks
ROnSF
Boris BachovskiBoris Bachovski
Not exactly. But you can put the name of the record in one text field "RecordName__c" and the ID of that record into another text field "RecordID__c". Then create a text formula field that will output the Hyperlink to the record. The formula should look something like this:
HYPERLINK('/' + RecordId__c , RecordName__c, "_blank")