https://example--dev.lightning.force.com/lightning/page/home?0.source=alohaHeader
This is the URL and I want to capture only
https://example--dev.lightning.force.com/lightning
in a custom formula field.
https://example--dev.lightning.force.com/lightning/page/home?0.source=alohaHeader
This is the URL and I want to capture only
https://example--dev.lightning.force.com/lightning
in a custom formula field.
You dont have to capture a URL for that, just create a formula field of type text and provide the hyperlink URL as, where first parameter is the report id. It will open the report in same tab/window
HYPERLINK('/00O58000002mRTN', 'Open Report ','_self')
Src: https://help.salesforce.com/articleView?id=customize_functions_a_h.htm&type=5
_classic/
URL-translation redirect by using the native Lightning URL, like /lightning/r/Report/MY_ID/view
.
Commented
Nov 16, 2018 at 19:25
/_classic/someID
before it resolves the Lightning URL. I wonder if that's context-dependent.
Commented
Nov 16, 2018 at 19:27