Forked from bethbrains/Dynamic Filtered Report Link
Created
February 22, 2018 04:18
-
-
Save jbro-io/c4b927966f91da7260474349a0ce4ac8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HYPERLINK( | |
/* If they're in Lightning */ | |
IF($User.UIThemeDisplayed="Theme4d", | |
/* Use Lightning syntax, optimized to avoid full page reload */ | |
"#/sObject/00OE0000003BLQi/view?fv0=", | |
/* Otherwise use Classic syntax */ | |
"/00OE0000003BLQi?pv0=") | |
/* Append the Account ID */ | |
&Id, | |
/* Specify the link text */ | |
"Report Link", | |
/* Keep it in the same browser tab to avoid full page reload */ | |
"_self" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment