Fetching Reports in Designer

Posted by: anjushaji0007 on 4 September 2024, 6:40 am EST

    • Post Options:
    • Link

    Posted 4 September 2024, 6:40 am EST - Updated 5 September 2024, 1:13 am EST

    Hello Team,

    I am unable to fetch a report in designer View which is developed using ActiveReportsJs .

    Have attached the html file and the report.

  • Posted 5 September 2024, 3:21 am EST

    Hi Anju,

    It seems like the report and the html file didn’t come through. Could you please attach the same again? Along with that, also please check the attached sample application where the reports are being fetched in the designer as expected.

    Attachment: ARJSDesigner.zip

  • Posted 5 September 2024, 3:26 am EST

    integrate.zip Attached HTML file

  • Posted 5 September 2024, 11:18 pm EST

    Hi Anju,

    The error you’re encountering is due to CORS (Cross-Origin Resource Sharing) restrictions. When you’re trying to access local files using the

    file:///
    protocol, browsers block such requests for security reasons unless you serve the files using a web server with the appropriate CORS headers.

    You may use a local web server like VS Code Live Server Extension to fix this issue. After serving your file using a local server, you should be able to load and fetch it without CORS issues.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels