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
- :
- Custom Code with dependent Variables
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
‎Jun 30, 2009
11:55 AM
Custom Code with dependent Variables
I have a custom code action which relies on IA variables as input. I am running into an issue when using the custom code more than once in a project. Let me illustrate with a custom code panel that sets the panel title to the value of $PANEL_TITLE$:
1. Set IA variable $PANEL_TITLE$ to 'Panel_1'
2. Run custom panel, and you will see that the title is Panel_1.
3. Set IA variable $PANEL_TITLE$ to 'Panel_2'
4. Run a second custom panel, and you will see that the title has changed to Panel_2.
5. Hit 'Previous' button to get to the first panel again, and you will see the title of the first Panel is now Panel_2.
Using this case as an example, is there any way, besides using a plugin, to avoid this, to get the first custom code action to basically store the variables it was initially given?
1. Set IA variable $PANEL_TITLE$ to 'Panel_1'
2. Run custom panel, and you will see that the title is Panel_1.
3. Set IA variable $PANEL_TITLE$ to 'Panel_2'
4. Run a second custom panel, and you will see that the title has changed to Panel_2.
5. Hit 'Previous' button to get to the first panel again, and you will see the title of the first Panel is now Panel_2.
Using this case as an example, is there any way, besides using a plugin, to avoid this, to get the first custom code action to basically store the variables it was initially given?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2009
02:13 AM
Are you using jump to actions between your panels, if not, try to, then your previous action should jump to the action where the variable is set before running your custom code.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2009
11:16 PM
i have try seaching for my operating system driver but i still can't find it.. could you hlep me where should i find the new installer because the last one alredy lost:(
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 02, 2009
03:31 AM
aerace,
if you have some questions, please create a new post and better describe what you are looking for.
Jerome
if you have some questions, please create a new post and better describe what you are looking for.
Jerome