cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Manage choices wizard tabs customization

OS_11417190
3-Newcomer

Manage choices wizard tabs customization

I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.11

For Manage Choices Wizard, there is a table builder invoked in that wizard. That table builder contains Tabs in it namely, Alternative parameter value, option code, Status parameter value, structure section value. I want to reorder that tab sequence to-be generate after opening the wizard or want to customize such that always the option code tab will be opened at the first. Relative file: ato-component.js
1 REPLY 1

Hello,

 

You are correct that ato-component.js is the relevant file for customization. The ATO.components.ChoiceComponent.renderPanelContext function handles the JSON response from the POST /Windchill/ptc1/choiceCompTabs request. You'll need to perform your own sorting/reordering on the JSON object itself (var json) or the JSON array (var tabItems) so that when the tabs are rendered they are in the desired order.

 

Screenshot 2024-11-06 152034.png

 

Please let me know if you have any questions regarding this and if this approach works well for you.

Announcements

Top Tags