Using ActiveReports Professional with ActiveReportsJS

Posted by: saif.momin on 21 June 2022, 9:20 am EST

    • Post Options:
    • Link

    Posted 21 June 2022, 9:20 am EST

    Is it possible to use ActiveReports Professional with ActiveReportsJS? I have been using both together in development and it seems to work but I’m not sure if the JSON formats will diverge down the line.

    Context:

    I have a React app with a .NET Core backend, where both are on different domains. I was originally using ActiveReports Professional with the web-designer JS following the instructions here: https://www.grapecity.com/activereportsnet/docs/latest/online/integration-to-react-app-wd.html

    However, I ran into a few issues. Whenever I make an API call, I get a CORS error. All other API calls from my application are working to that backend so I should not be getting this CORS issue. I saw this link that could help with the error but it only fixed it for the designer portion, not the viewer: https://www.grapecity.com/activereportsnet/docs/latest/online/viewing-reports-from-different-domains-using-cors.html

    It also makes a bunch of API requests and I wonder if there is a way to have more control of the API requests that are made. That’s why I tried ActiveReportsJS because the developer has more control on the API requests to the backend. Additionally, with ActiveReportsJS, we don’t need to add JS/CSS files to the index.html page so we can keep it contained within the component in need.

    I know there is a lot here but just trying to get some guidance on what the best approach is here.

  • Posted 22 June 2022, 10:00 pm EST

    Hello Saif,

    RDL/Page report(.rdlx) files can be opened and previewed in ActiveReportsJS. However, after making changes in the report in ActiveReportsJS, the report cannot be saved back into .rdlx format which is why it would be a very specific use case for when working with both ActiveReports.Net and ActiveReportsJS.

    About the CORS issue, it seems this issue is already being addressed over email by our team.

Need extra support?

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

Learn More

Forum Channels