It is currently Mon Jul 28, 2014 2:19 am




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
 runScript in tag expression 
Author Message
Captain
Captain

Joined: Fri Oct 07, 2011 5:41 am
Posts: 82
Post 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
error.png [ 6.99 KiB | Viewed 501 times ]
Sun Jul 08, 2012 3:48 am
Profile
Moderator
Moderator

Joined: Mon Oct 27, 2008 4:10 pm
Posts: 1980
Location: Folsom, CA
Post 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
Profile WWW
Captain
Captain

Joined: Fri Oct 07, 2011 5:41 am
Posts: 82
Post Re: runScript in tag expression  Topic is solved
Thank you Kevin,
I understand if I had to choose between your two solutions, I would choose both :P
Good day.


Mon Jul 09, 2012 1:15 pm
Profile
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 4 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

Search for:
Jump to: