Assume I have a Remedy character field named mytextfield with field id 536870929
If I have a javascript function called myjsfunc which takes a string as a
parameter, I can call this function in a Remedy run process active link like
this:
javascript:myjsfunc('536870929');
That works fine.
However if I try to call it like this:
javascript:myjsfunc($mytextfield$);
I get logging error like this:
ActiveLink: AL_call_javascript - Sun Jul 7 2013 12:44:31
True actions:
True action: ARACTProcess("javascript:myjsfunc($536870929$);", 1);
action 0
ARACTProcess("javascript:myjsfunc($536870929$);", 0", 1)
Alert: Caught exception :Syntax error
Do I have to put quotes round the $536870929$ ? I would prefer to not have to
hard code the field id. So if there is a way to pass the actual text of the
field by specifying the variable that would be more convenient. But how?
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"