Skip to main content
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..........
1 respuesta
  1. 6 nov 2018, 4:16 a.m.
    Hi Krishna,

    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.

    Hope this helps.

    Thanks,

    Nagendra