Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation x

How to remove Default Trace Code Attribute from Edit Common Attribute Layout.

SP_12330653
4-Participant

How to remove Default Trace Code Attribute from Edit Common Attribute Layout.

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 ?

6 REPLIES 6

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?

 

SP_12330653
4-Participant
(To:TDT)

Yes, I want to make an automatic assign/Deassign Reference Document with part based on the value using listner. 

Fadel
23-Emerald I
(To:SP_12330653)

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.

def2.png

 

def1.png

 

Fede
SP_12330653
4-Participant
(To:Fadel)

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.

Fadel
23-Emerald I
(To:SP_12330653)

   There is no other way to do this +  Customizing editPartCommonAttrsWizardStep.jsp is not supported

Fede
HelesicPetr
22-Sapphire II
(To:SP_12330653)

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

 

Announcements


Top Tags