FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
08-18-2022 10:11 AM - last edited on 09-21-2022 09:30 AM by HmiGuide
With the help of the docu I created a package with some ui-actions.
Solved! Go to Solution.
09-15-2022 02:07 PM - edited 09-15-2022 02:28 PM
Hello,
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
webiq eg
09-21-2022 11:29 AM - last edited on 09-21-2022 11:51 AM by HmiGuide
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.
09-27-2022 12:16 PM
09-28-2022 10:36 AM
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?