Custom Field. >> Formula (text)
HYPERLINK(
/* If they're in Lightning */
IF($User.UIThemeDisplayed="Theme4d",
/* Use Lightning syntax, optimized to avoid full page reload */
"#/sObject/00O5A000007206nUAA/view?fv1=",
/* Otherwise use Classic syntax */
"/15_Char_Report_ID?pv1=")
/* Append the ID */
&Id,
/* Specify the link */
"Link",
/* Keep it in the same browser tab to avoid full page reload */
"_self"
)
Other resources