Use the legacy scripting on Web Dev Module

Hi,

I am in the process of upgrading an existing project from version 7.9 to 8.1, and I'm also developing a new web platform using the WebDev module. The previous project contains several legacy scripts that are utilized for retrieving data from a database. My intention is to reuse these scripts in the WebDev module; however, I am currently facing an issue when attempting to use the runScript function.

I am uncertain whether it is possible to utilize global scripts in the WebDev module, or if I need to refactor them in some way.

Thank you and regards,

Runscript is an expression function and will not work in WebDev.
Any scripts that are in a global scope can be used from the WebDev module though.
We use them extensively for the same thing you are talking about.

1 Like