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.
I’ve work on the widget to make it working under mappView 5.24 but I didn’t have the toolkit for this version and I got an error that I didn’t solve
On the repo there is a branch 5.24 that have the modification I’ve done.
@kovarj maybe you know someone that could help with it ? Someone who have the toolkit for 5.24 ?
To the best of my knowledge, WDTC is available only for MV/AS 6.x. The version available for MV/AS 4.x was a previous version of the toolkit and was never publicly released.
The widget is really very helpful, especially when you want to determine the data structure of a customer server in order to exchange data with the customer.
With the widget, I can only address the server via the alias in the opcuaserver.uaserver Config.
I use my project with several customers. The IP address and port are unknown in advance. Is there a way to do this directly via the IP and port instead of via the alias?
Or is there a way to dynamically adjust the opcuaserver config, i.e. during runtime?
From mappView widget side we can only use opcua using alias, if alias is not specified it will use default one (local one). So we cannot use IP and port
As far as I know we cannot modify this “OpcUaServerConnections” object during runtime
Maybe you can ask to your local support if this is possible, but I’m pretty sure it is not possible.