Conflict Between Active Reports 14 and Wijmo 5.20193.646

Posted by: epeters on 18 February 2020, 5:28 am EST

  • Posted 18 February 2020, 5:28 am EST

    We have an internal website where we use Active Reports and Wijmo. I updated to Wijmo to v5.20193.646 then was trying to update Active Reports from v13 to v14 however, I am getting a JavaScript runtime error : Object doesn’t support property or method ‘setLicenseKey’ when attemptimng to license wijmo.

    The website is ASP.NET MVC and I was trying to upgrade to using the JSViewer.

    I have attached a sample application that shows the issue. When I remove the reference to the wijmo JS files, the application runs fine and shows the JSViewer.

    Any help would be appreciated.ARTest.zip

  • Posted 19 February 2020, 8:38 pm EST

    Hi Eric,

    The issue is occurring because the latest version of the js-viewer is explicitly setting the Wijmo’s object to an empty object.

    We have forwarded this issue to the dev team with internal tracking id 278479. We will update you as soon as the issue is fixed.

    Regards,

    Ashwin

  • Posted 19 February 2020, 8:58 pm EST

    Hi Eric,

    As a workaround, you can remove the following line from the jsViewer.min.js file:

    window.wijmo = {};
    

    And it will work as expected.

    ~regards

  • Posted 20 February 2020, 3:23 am EST

    Thank you very much for your assistance. The workaround is functioning as expected. Have a great day.

    Eric

Need extra support?

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

Learn More

Forum Channels