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
Abhishek Singh 88Abhishek Singh 88 

Hyperlink to point to related list in lightning

HYPERLINK("/" & Id & "#" & Id & "_00N600000037BUP_target", "Team Responsibilities URL", "_blank")

which point to related list record "Team Responsibility" in Classic. But if user has lighting enabled it redirect to Detail Tab. Is there any way we can point it to Related Tab if user has enabled lightning.
Best Answer chosen by Abhishek Singh 88
ShirishaShirisha (Salesforce Developers) 
Hi Abhishek,


Please be informed that the URL hacking doesn't work everytime in lightning experience like it does in Classic.So,I would suggest you to use the custom component to redirect to the relatedList as suggested in the document (

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri