The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here
Version: Windchill 13.0
Use Case: We are trying to use this Default Trace code in Edit Layout instead of Edit Common Attribute layout to make some Automation. and we are using listern to catch the value which check in, as this is not possible to Edit common attrbute alyout as object will not get checkout and chekcin. so i want to remove that Attribute from Edit Common attribute layout. any one know how to remove from Edit Common attribute Layout ?
Description:
We are trying to use this Default Trace code in Edit Layout instead of Edit Common Attribute layout to make some Automation. and we are using listern to catch the value which check in, as this is not possible to Edit common attrbute alyout as object will not get checkout and chekcin.
so i want to remove that Attribute from Edit Common attribute layout. any one know how to remove from Edit Common attribute Layout ?
Hi @SP_12330653,
The Default Trace Code is a master attribute. What is the reason for capturing this attribute value?
Do you intend to use this value anywhere when it is updated?
Yes, I want to make an automatic assign/Deassign Reference Document with part based on the value using listner.
1. Open Type & Attribute Manager.
2. Goto Part or subtype of Part
3. Edit the "default Trace code" attribute.
4. Goto Visibility tab & change the value of Edit to Hidden.
Thanks for the feedback. However, using this option will hide the attribute everywhere, which doesn’t align with the requirement. My intention is to use this attribute specifically in the Checkout and Edit layouts, instead of the Edit Common Attributes layout.
The reason for placing it in the Checkout/Edit layouts is to ensure that the Pre‑Checkin event gets triggered correctly. I want the user to modify this attribute only during Checkout or Edit, and not through the Edit Common Attributes screen.
So, the goal is to remove this attribute from the Edit Common Attributes layout and add it only to the Checkout and Edit layouts.
There is no other way to do this + Customizing editPartCommonAttrsWizardStep.jsp is not supported
Hi @SP_12330653
I have a different idea for you.
Create own validator for the wizard and throw an exception if the value is changed during edit common wizard.
Message for user could be something like: You are not allowed to change attribute ABC you have to use checkout and edit wizard to do so...
PetrH
