I need help with some account object links while moving to Lightning. They link to reports saved with an Account ID filter of null. The link opens the report, populates the Account ID of the account you clicked from, and displays the report results.
https://jfw.my.salesforce.com/REPORTID?pv0={!Account.Id}
We have several and they all work perfectly in Classic. They do NOT work in Lightning. In lightning, the report is loaded but the account ID is not passed to the report filter as in classic.
How can I make these work in Lightning and classic? Any thoughts are appreciated!
#Lightning Experience #Custom URL Button #URL Link #Salesforce
Hi ,
It looks like this can be achieved using Apex.
You can handle the report link with filter parameter by detecting the user theme i.e. classic or lightning in your apex class
https://salesforce.stackexchange.com/questions/280376/report-url-losing-filters-in-lightning
