This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Did you find a solution to this?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 16, 2010
11:55 AM
Set IA Variable - differences in IA 2009 SP2 vs IA 2008 VP1
Hello,
I'm trying to build IA project with IA 2009 SP2.
I have found that for some reason the following pseudo-code works differently in IA 2009 SP2 and in IA 2008 VP1:
1. Custom code:
com.zerog.ia.api.pub.VariableAccess.setVariable("VAR1", "value1");
2. IA action "Set IA Variable":
VAR2=$VAR1$ (Evaluate at Assignment - false)
3. Custom code:
com.zerog.ia.api.pub.VariableAccess.getVariable("VAR2"); // This returns "value1" in IA 2008 VP1, but "$VAR1$" in IA 2009 SP2 !
Is it a known issue?
Is there a setting that would allow to switch to the old behavior?
(Of course I can set "Evaluate at Assignment" to true,
or use com.zerog.ia.api.pub.VariableAccess.substitute instead of com.zerog.ia.api.pub.VariableAccess.getVariable,
but it means much more work - I would prefer old behavior).
I'm trying to build IA project with IA 2009 SP2.
I have found that for some reason the following pseudo-code works differently in IA 2009 SP2 and in IA 2008 VP1:
1. Custom code:
com.zerog.ia.api.pub.VariableAccess.setVariable("VAR1", "value1");
2. IA action "Set IA Variable":
VAR2=$VAR1$ (Evaluate at Assignment - false)
3. Custom code:
com.zerog.ia.api.pub.VariableAccess.getVariable("VAR2"); // This returns "value1" in IA 2008 VP1, but "$VAR1$" in IA 2009 SP2 !
Is it a known issue?
Is there a setting that would allow to switch to the old behavior?
(Of course I can set "Evaluate at Assignment" to true,
or use com.zerog.ia.api.pub.VariableAccess.substitute instead of com.zerog.ia.api.pub.VariableAccess.getVariable,
but it means much more work - I would prefer old behavior).
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 26, 2010
05:39 PM
Were you able to resolve this issue?
Thanks,
anu
Thanks,
anu
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2010
12:46 AM
Have you tried in IA 2010 too?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 28, 2010
09:36 AM
Yes same problem with IA2010. Seems like the getVariable method has changed since IA2008_VP1 which we had previously.