Skip to main content
1-Visitor
February 19, 2014
Question

How to refresh wizard step

  • February 19, 2014
  • 2 replies
  • 4816 views

Hi.

I have a three-step wizard. On first two steps user can select wtparts and wtdocuments. On last third step the tree is created from previously selected objects.

If user returns to first or second step to change selection of documents, how to refresh the third-step tree with new data?

Thanks.

2 replies

1-Visitor
February 20, 2014

I tried to use beforeJS="myJsFunction" param in appropriate wizard action but i have an error

TypeError: wizardSteps[stepId].preloadJS is not a function

http://bntd.sniihim.ru/Windchill/netmarkets/javascript/util/windchill-all.js

2788

This error ocurs regradless of myJsFunction code.

I have a little experience in javascript and have no idea what to do.

1-Visitor
February 20, 2014

beforeJS="myJsFunction" works only for first step, and does not work for next steps.

Why?

12-Amethyst
March 11, 2014

Hi Vasiliy,

For third step make preloadwizardpage false.

<action name="thirdStep" id="thirdStep" preloadWizardPage="false">

<command class="ext.custom.processor" method="" windowType="wizard_step"/>

</action>

Thanks,

Kaushik

4-Participant
July 2, 2025

Hi i am working on something same at the moment. Did you find a workaround for refreshing the third step with new data?

 

avillanueva
23-Emerald I
23-Emerald I
July 2, 2025

This is a very old thread. Recommend starting fresh thread and include details of your issue, errors, version. etc.