Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Version: Windchill 11.2
Use Case: In the Create New Document Wizard, the values in Combobox2 should dynamically change based on the selection in Combobox1.
Description:
Hi there,
I want to implement a dynamic selection for an Azure-Windchill integration project.
I’ve written and tested two different functions, both of which are working:
There is no issue with the functions; both work successfully when I manually input a repository name.
When the user starts the Wizard by selecting “New Document,” there are two different comboboxes in the opened window.
I can dynamically retrieve the values for Combobox1 with a data utility as soon as the window opens, and this works without any issues.
However,
My question is: How can I populate Combobox2 with the desired values based on the selected value in Combobox1? (Both of the comboboxes must be dynamic)
In the Create New Document Wizard, the values in Combobox2 should dynamically change based on the selection in Combobox1.
P.S. I don't have any problems with the Azure-Windchill connection, i can get correct values by my functions.
Solved! Go to Solution.
I solved the problem by these steps;
1- Created DataUtility for Combobox1 for get Repo Names from Azure, added Js action
comboBox.addJsAction("onchange","TestScript()");
2- Then edited CreateWizStep
3- Created Servlet for parse folder names.
Hi @Anil_SAD,
Thank you for your question.
Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.
Also, feel free to add any additional information you think might be relevant.
Regards,
Vivek N
Community Moderation Team
I solved the problem by these steps;
1- Created DataUtility for Combobox1 for get Repo Names from Azure, added Js action
comboBox.addJsAction("onchange","TestScript()");
2- Then edited CreateWizStep
3- Created Servlet for parse folder names.