Skip to main content
4-Participant
May 28, 2024
Question

Customization: Create an individual Design Tab for a Change Request child object with Action Model

  • May 28, 2024
  • 1 reply
  • 996 views

Hello together,

I struggle with the following topic:

 

I created the child change request Standard Change Request (SCR) out of the parent Change Request (CR).

Now I want to have an individual order of the sections on the Details tab like Affected Objects, Attachments, Associated Process Objects, etc for the SCR. And no I don't mean the attributes layout.

I already found the current action model, which is used for all the change request types: changeRequestInfoPageTabSet

SCR Overview.PNG

And also the section in the ChangeManagement-actionModels.xml

ChangeManagement-actionModels.PNG

But when I make changes here, it will be changed for the parent Change Request and also all child objects.

 

I would suggest the next steps for the SCR are to create
1. a action model name="standardChangeRequestDetailsTab" for the order of the single elements

2. a action model name="standardChangeRequestInfoPageTabSet" for the different tabs

 

But how do I link now the new created standardChangeRequestInfoPageTabSet with the actual SCR Object? And replace the old action model with the new one?
Or how do I find out where to look?

 

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
May 29, 2024

Hi @NR_9463014 

If you define the tabs and tables for your request, add own custom one and add an filter to that actions.

The filter helps you to show your actions(tables) only for your subtype. 

PetrH

4-Participant
June 3, 2024

Hello PetrH, 

thanks for your reply! 
Could you please help me how to add it as a custom one and also the filter? Because I didn't find a solution for linking the tab with a certain (sub)type? 
If you need information please let me know! 

HelesicPetr
22-Sapphire II
22-Sapphire II
June 14, 2024

Hi @NR_9463014 

in XML actionModels define the tab and what should be shown in it.

Set a filter in the actionModel for your tab and thats all.

There are also many Examples how to use the filter in a customActions..xml

https://community.ptc.com/t5/Windchill-Customization/How-to-override-ootb-validator-or-is-any-way-to-add-our-own/m-p/934297#M138%3Fsource=search

 

PetrH