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
Timothy SmithTimothy Smith 

Formula/Hyperlink field help

Opportunity -> Appointment -> Task

On the Task Object I need to create a custom field 'Opportunity__c' that would as a value show the Opportunity's Name, and serve as a hyperlink back to the Opportunity.

I am having trouble setting up the Formula.
HYPERLINK(url, friendly_name [, target]) 

'friendly_name' - How do I set this variable to display the Opportunity.name?
'url' - this should lead back to the opportunity, its not working for me.

Thank you
Best Answer chosen by Timothy Smith
AbhinavAbhinav (Salesforce Developers) 
Hi Timothy,

Have you checked this suggestion?

https://salesforce.stackexchange.com/questions/305040/create-hyperlink-formula-field-which-when-clicked-should-redirect-to-specified-r

Thanks!