+ Start a Discussion
vamsi k 20vamsi k 20 

How to get joined report by clicking on Custom Detail Link in lightning

Hi All,

I have custom link in Classic upon clicking on it will open a new window and return joined report. For this they have used Javascript.

But in Lightning javascript is not allowed so in Lightning this link is not functioning. Please help me how to get joined report (which has two blocks and those two blocks have filters) in lightning on click of custom detail link.

Eariler I thought of passing parameters in the URL, but upon analysis I understood it is not salesforce is not supporting this feature.

Please guide me how to acheive this functionality.

Thanks in advance.
Khan AnasKhan Anas (Salesforce Developers) 
Hi Vamsi,

Greetings to you!

Please refer to the below links which might help you further with the above requirement. As far as I know, this is the only way as of now.

https://biggerboatconsulting.com/supporting-report-filter-url-hacks-in-lightning-and-classic/

https://salesforce.stackexchange.com/questions/156289/custom-links-to-generate-dynamic-reports-in-lightning

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
vamsi k 20vamsi k 20
Hi Khan Anas,

Thanks for replying. For JOINED reports it is not possible to pass parameters through URL as Salesforce is not supporting this feature in joined reports (please see this link (https://success.salesforce.com/ideaView?id=08730000000hC6SAAU)). 

I am looking is there any way to achevie when user clicks on custom detail link, which will open up in new window or tab which show joined reports for that scenario.