|
|
|
It is currently Sun May 19, 2013 2:43 am
|
View unanswered posts | View active topics | View unsolved topics
|
Page 1 of 1
|
[ 3 posts ] |
|
runScript in tag expression
| Author |
Message |
|
2Gi Technologie
Lieutenant
Joined: Fri Oct 07, 2011 5:41 am Posts: 64
|
 runScript in tag expression
Hi, 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. Thanks.
Attachments:
error.png [ 6.99 KiB | Viewed 431 times ]
|
| Sun Jul 08, 2012 3:48 am |
|
 |
|
Kevin.Herron
Moderator
Joined: Mon Oct 27, 2008 4:10 pm Posts: 1333 Location: Folsom, CA
|
 Re: runScript in tag expression
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.
and/or
2. Make the runScript call take a project name parameter so it can figure out which project/module to find the script in.
_________________ Kevin Herron Software Developer Inductive Automation
|
| Sun Jul 08, 2012 7:20 pm |
|
 |
|
2Gi Technologie
Lieutenant
Joined: Fri Oct 07, 2011 5:41 am Posts: 64
|
 Re: runScript in tag expression 
Thank you Kevin, I understand if I had to choose between your two solutions, I would choose both Good day.
|
| Mon Jul 09, 2012 1:15 pm |
|
 |
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|