This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugging UI Extension App in VS 2019

Hi community and M-Files,

We are following instructions provided in www.m-files.com/.../ technical article to enable debugging. From time to time, we get loaded our specific iFrame under Script Documents -> Windows Internet Explorer -> <our dashboard site> -> <set of Javascript files>.

Then after clicking through the client, our site is gone again and does not show up again. When it is up, we are enabled to set breakpoints into JavaScript framework files (such as bootstrap, jquery etc.) but breakpoints in our JavaScript code does not work.

Also we don't see main.js during debugging at all. We know this is JScript document. This problem is described here: community.m-files.com/index.php

How do you debug your UI extension apps? Any plans to stick to one scripting language and not to mix between JScript and JavaScript in future?

Dejan
Parents
  • Hi Craig,

    Thanks for the clear answer. This is really pity as when you develop you need from time to time to understand what is going on behind the scene ;).
    As those UI extensibility apps (dashboards especially) are based on IFrame embedded pages and if I understood limited to IE functionalities, what would happen if one day there is no IE explorer any more on customers' computers and they use chrome, MS Edge? Would those dashboard pages work still?

    Nevertheless debugging (even though as you mentioned works sometimes and sometimes terribly fail) helped us to find our that other embedded built-in dashboard pages (built-in metadatacard, tabpane etc.) seems to use older version of bootstrap and jquery framework so we needed to downgrade our code as well to make it working. Any plans to refresh it to latest framework versions, at least bootstrap, cause we needed to re-write a lot?

    Thanks.

    Dejan
Reply
  • Hi Craig,

    Thanks for the clear answer. This is really pity as when you develop you need from time to time to understand what is going on behind the scene ;).
    As those UI extensibility apps (dashboards especially) are based on IFrame embedded pages and if I understood limited to IE functionalities, what would happen if one day there is no IE explorer any more on customers' computers and they use chrome, MS Edge? Would those dashboard pages work still?

    Nevertheless debugging (even though as you mentioned works sometimes and sometimes terribly fail) helped us to find our that other embedded built-in dashboard pages (built-in metadatacard, tabpane etc.) seems to use older version of bootstrap and jquery framework so we needed to downgrade our code as well to make it working. Any plans to refresh it to latest framework versions, at least bootstrap, cause we needed to re-write a lot?

    Thanks.

    Dejan
Children
No Data