+ Start a Discussion

Open a Report from LWC with new/modified Filters

Before opening a report , I want to call Apex method from LWC JS.
In the Apex method, I want to add filters to an existing report and run Report. Come back to JS method and then invoke Navigation to the report.

This is what my assumption is :
The Navigation to report from LWC JS method will open the report in the browser with the filters i just set in the Apex Class method. I don't want to change the Report Source conditions. Please confirm if this approach is valid and possible.

If it is not possible, please tell me how i can open a report from LWC with new/Modified filter values.