dynamically load content of code object(s)

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

dynamically load content of code object(s)

Post by eureka »

I use Actiona for a number of development tasks in Ubuntu/Windows.

I have been exploring how I can use dynamically changed Actiona scripts. That is, the content of the Actiona script can be dynamically changed from downloaded code.

It is my understanding that Actiona has no provision for changing the (ECMAscript) content of any code objects.
Is this correct?

I have a workaround to achieve this but I wanted to first check if I have missed a feature. I see that Web download allows a var to be dynamically loaded from a URL. But how to then transfer this downloaded var into an internal code object to run as ECMAscript?
eureka
Posts: 204
Joined: 08 Mar 2016, 22:18

Re: dynamically load content of code object(s)

Post by eureka »

I conclude that the optimum approach is to customise the *.ascr entire script server side and then use a small Actiona bootstrap script as a loader to download and run the downloaded full dynamic script .. either from a localhost server instance (php development server) or full blown remote server.
Post Reply