It seems that there is no module “widget/brease/common/libs/wfUtils/UtilsImage”, maybe this module was moved in new versions. As I didn’t have access to it I could not really say it ^^’
If you have WDTC you could take a look if the path is correct, for me I put WDTC in “C:\WD\6.1.1” relative to this folder the module that the widget use is “data\wwwRoot\BRVisu\widgets\brease\common\libs\wfUtils\UtilsImage.js”
Can you check if this file exist ?
Btw it was only tested with MappView 6.1.1
Can you share me the complete build error (CTRL + A > right-click > copy selected items)
It seems that there is no module “widget/brease/common/libs/wfUtils/UtilsImage”, maybe this module was moved in new versions.
No, this module was not removed, it was actually never available!
mapp View 6 uses webpack to package everything needed for the widgets and the HMI. If a certain package is not exposed, you might see it in the filesystem, but webpack will not package it … for the user of the widget, the module is missing.
For you it prop. works, as “somehow” the path to your local WDTC folder is included, which allows the system to find the module … but for anyone, not having the WDTC or not in the same folder, this module does not resolve, which leads to the shown error.
If a certain method is part of the usable API, you can see in the BRease docu, which is part of the WDTC. Usable methods are marked with “API”.
If you want to use “UtilsImage”, you would need to include these methods into your package.
Hi … great job. Gave it a try - and it seems to work now!
One thing which came to my attention:
You need to configure the OPC-UA server alias … The widget should also work with an empty alias, as in a simple standard configuration you have no OPC-UA configuration => you also have no alias.