runScript in tag expression

Is it possible to put a runScript who call a function module in a tag?
The call works well in a button and a link property. But does not work in the expression of a tag, this is my error image.

No, it’s not possible right now.

Tags are global (gateway) scoped, whereas your script modules are project scoped, so they can’t interact. We’ve got a couple different ideas to address this, but I don’t have a timeline on when they will be implemented.

We’re thinking:

  1. Make a global module area.


  1. Make the runScript call take a project name parameter so it can figure out which project/module to find the script in.

Thank you Kevin,
I understand if I had to choose between your two solutions, I would choose both :stuck_out_tongue:
Good day.