You need to sign in to do that
Don't have an account?
krishna23
Download report in lightning by passing current record id as parameter to filter in report
Hi Team,
I am trying to download the report as XLS formate by providing current record id as input to report filter. In classic, it is working by using the javascript button. How to archive the same functionality in lightning.
Javascript button: window.open('/ReportID?pv0=CurrentRecordId&export=1&enc=UTF-8&xf=xls')
Thanks..........
I am trying to download the report as XLS formate by providing current record id as input to report filter. In classic, it is working by using the javascript button. How to archive the same functionality in lightning.
Javascript button: window.open('/ReportID?pv0=CurrentRecordId&export=1&enc=UTF-8&xf=xls')
Thanks..........
You can Pass URL parameters to set filter values in Lightning Experience reports. When linking to reports or when bookmarking a report, add filter value parameters to the URL to customize how the report filters when opened. For example, bookmark your opportunities report and add a filter value parameter to specify whether you see New Business or Existing Business. This feature is new in Lightning Experience.
For more information, I would suggest you please refer to below links.
- https://releasenotes.docs.salesforce.com/en-us/spring17/release-notes/rn_rd_reports_filter_url.htm#rn_rd_reports_filter_url
- https://success.salesforce.com/answers?id=9063A000000DdD5QAK
Hope this helps.Thanks,
Nagendra