Set dynamic list of items in multi data input box

Post here if you need help using Actiona
Post Reply
eureka
Posts: 59
Joined: 08 Mar 2016, 22:18

Set dynamic list of items in multi data input box

Post by eureka » 06 Feb 2019, 11:05

I am musing how I might create a dynamic list of items to choose in "multi data input" action.

I can read these items as variables from a config.ini file but how do I then write these variables into the "items" list in "multi data input". Why not allow variables in "items" field?

Also in the "mode" field I can set "text" or "code". What is the purpose of the code option here?

My intention is to use one *.ascr as a dashboard which can adapt dynamically. For example in different workflows to dynamically choose different sets of commands like Ansible scripts.

eureka
Posts: 59
Joined: 08 Mar 2016, 22:18

Re: Set dynamic list of items in multi data input box

Post by eureka » 08 Feb 2019, 17:29

With no solution in sight I am now running a node.js app from Actiona.
This allows me to bring up a dynamic jqueryui menu in localhost browser. All javascript.
Drawing on example here .. http://techslides.com/client-side-javascript-to-node-js.
However it would still be useful to assign variables to list items in Actiona multi data input box.

[Later edit] On reflection the preparation of embedded HTML code as in above article is too messy.
After further development I am homing in on using Electron app .. https://electronjs.org/
for my primary user interface and to call a number of Actiona scripts from the container Electron app.
This offers more flexibility.

Post Reply