Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Solved! Go to Solution.
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.
Please let me know if you have any questions regarding this and if this approach works well for you.
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.
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.