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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Manage choices wizard tabs customization

OS_11417190
4-Participant

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
ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

2 REPLIES 2

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.

Hello @OS_11417190,

 

It looks like you have a response from a community member. If it helped to answer your question please mark the 

reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Announcements

Top Tags