runScript in expression tag

I see that you are in Ignition 8 instead of the original posts which are in 7.9. There is no longer the “Global” project that you are familiar with in 7.9. Instead, tags have access to scripts that are in the Gateway Scripting Project. This is configured on the gateway web page Config > Gateway Settings > Gateway Scripting Project.
At this point, the script you want to access in the tag HAS to be on that project. Tags cannot run scripts from another project that inherits that project. From your pictures, it looks like maybe you have upgraded from 7.9 and that’s why you have a folder named “shared” which is fine, but if you upgraded from 7.9 chances are your Gateway Scripting Project is going to be Global and therefore the script has to be in the project named Global.

7 Likes