Skip to main content
1-Visitor
March 17, 2014
Solved

Add global or standard attribute for WTUser

  • March 17, 2014
  • 1 reply
  • 2441 views

Hi.

Is it possible to add Standard or Global attribute fro WTUser?

In my case only Alias and Calculated are available.

Thanks.

Best answer by VasiliyRepecki

Resolved by creating hard type ObjectToObjectLink

1 reply

1-Visitor
March 19, 2014

OOTB as you mentioned it only allows you to add “Alias” or “Calculated” attributes from Type and Attribute Manager and this is expected behavior because if you look at WTUser class from JAVADocs i.e wt.org.WTUser class you will see that it does not implement the IBAHolder interface . If IBAHolder Interface is not implemented by that class then you cannot associate IBA’s or soft attributes with that class. This behavior cannot be customized since the class cannot be extended and is expected to only allow addition of either alias or calculated attributes. If you look at other Windchill Objects like WTPart or WTDocument you will see that they implement IBAHolder interface which in turn allows a user to create soft attributes or IBA’s for them.

1-Visitor
March 20, 2014

How can i bind WTUser to some other object by many-to-one relation?

VasiliyRepecki1-VisitorAuthorAnswer
1-Visitor
March 27, 2014

Resolved by creating hard type ObjectToObjectLink