Wizard Client Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2010 03:49 AM
Hello everyone,
I created a wizard that either create an incident or launch a service catalog ordering process depending on the value of a variable.
However, there are 3 other variables that the user has to fill and I want to recover them in a Wizard Client Script. It doesn't work using the methed "wizard.variable_name" as described in the wiki.
Is it possible somehow to push or pull wizard variables form a panel to another ??
Thanks in advance for your answers.
Loïc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2011 12:37 PM
Bump? Having same issue.
Script:
current.u_high_level_implementation_pl = (
'DNS Name: ' + wizard.u_vip_dns_name + '\n' +
'Port Active: ' + wizard.u_vip_port_active + '\n' +
'Port Up?: ' + wizard.u_vip_port_up + '\n' +
'Service Started?: ' + wizard.u_vip_service_started + '\n\n' +
)
results in:
DNS Name: Undefined
Port Active: Undefined
.
.
.
And yes, the variable_names are confirmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2011 12:48 PM
Solved.
What is misleading here in the documentation and the tool itself is that there is 'name' and 'variable_name', which can/should be added to your form/list views. I naturally assumed that 'wizard.variable_name' meant the field 'variable_name', but it does not. It wants the 'name' field.
After building out a Service Catalog 'record generator' where we added the variable_name to the form, I immediately added variable_name to the Wizard form as well, hence the confusion. Normally, on a fresh System Wizard default/OOB form, it wouldn't have 'variable_name' and maybe the 'wizard.variable_name' would have made immediate sense.
In our case, however, it caused rather serious confusion. Use 'wizard.name', not 'wizard.variable_name'.