Could not have the Wizard(s) display banner and close upon successfully calling the processor class
- December 14, 2025
- 1 reply
- 290 views
Implementing a custom wizard in Windchill that will eventually create a WTPart and establish some associations. The process involves a multi-step wizard defined in custom-actions.xml and managed by a final form processor.
FormResult Message:
<script>
top.PTC.getMainWindow().PTC.messaging.showInlineMessage
([{"MessageTitle":"CONFIRMATION:",
"Messages":["Repair Kit generated successfully with number: C1000"],"MessageType":"SUCCESS"}]);
top.PTC.getMainWindow().PTC.performance.stopComponentTimer('WizardSubmit');
top.handleSubmitResult(0, 1, ' ', '\x20', {"extraData":{}})
</script>
While the expectation is to show a banner message or just close the windows, it just goes back to a refreshed parent wizard.
Console Error:
Uncaught TypeError: Cannot read properties of undefined (reading 'getMainWindow')
Approaches Tried:
Various things have been tried including sending the feedbackmessage explicitly, redirecting to the URL manually. PFA for detailed explanation. Any feedback is appreciated. Thank you!

