With the help of the docu I created a package with some ui-actions.
Solved! Go to Solution.
the error message indicates that your package contains three files that are already included in the original HMI project. Unfortunately, only the first of these is displayed (here json/scripts/localscripts.json).
Files that are already in use, may not appear in a package.
Instead, you can transfer the description of the UI action to webiq.json. I added an example of a package with an UI action.
In the description https://www.smart-hmi.de/user/download/deliver/docs/documentation-dev-designer-package-format-2.12-...
this is described using a localscript as an example, it works the same way for ui-actions.
Try my package example, hope this helps and have fun with WebIQ
Hello @webiq-eg Unfortunately, the attached example does not work.
Although a parameter is displayed when inserting the element, it has no name. If multiple parameters are defined in the ui action, only one unnamed parameter is displayed.
I have checked the file: <workspace>\json\scripts\ui-actions.json. The parameters to the UI action are not entered.
Can you please fix the example, to get it working.
Thanks, now it is working. There is one question left:
The docu says that the
The type in your example is control, but I would expect type extension, because of the documentation.
Could you explain that?