Is there a convenient was to check if a report with the given report name exists using JavaScript?
Following this official guide on how to display a report I managed to display a report with the name given in the URL. If the given report name does not match a report I get a error:
Could not open successfully the report 'fake-name' (The report '/shared/fake-name.icc-report (null)' does not exists.)
So I want to redirect the user if the report does not exists and for that I need something like a function that gives me true or false based on the report name.
Is there any way this can be done?
Thanks. :)