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
Sri0214Sri0214 

In classic we have a hyperlink field which when click launches a visualforce page. Now we have switched to lightning, is there a way to invoke lightning component on click of the hyperlink.

In classic we have a hyperlink field which when clicked launches a visualforce page. Now we have switched to lightning, is there a way to invoke lightning component on click of the hyperlink formula field.
NagendraNagendra (Salesforce Developers) 
Hi Sri,

Sorry for this issue you are encountering.

May I suggest you please check with below link from the stack exchange community which has a similar discussion and code sample for the same. Please let us know if this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
Sri0214Sri0214
Hi Nagendra,
Thnq for getting back. What we are trying here is, invoking a lightning component from a custom field on a standard record detail page.In classic we have the ability to call a vf page inside hyperlink field- for example HYPERLINK('/apex/testvfpage','Test','_self') . But I am trying to find if we can call a lightning component from this custom field. The link you referred me to uses hyperlinks on lightning components.
Thanks,
Sri