Cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping OS Name

Solution Partner Builder Solution Partner Builder
Solution Partner Builder

Hi there,

 

Anybody knows how to map OS Name? I tried to use that syntax:

 

"Owner_OSNAME" : Item.owning_user.owning_user /master=iman /description="Owner_OSNAME"

 

... and:

 

"Owner" : Item.owning_user.user_name /master=iman /description="Owner"

 

So it doesn't works.

 

Teamcenter 11.4 | NX 12.0.1

4 REPLIES

Re: Mapping OS Name

Gears Phenom Gears Phenom
Gears Phenom

What is the property name in NX? You are mapping an existing NX property to a TC property. 

Re: Mapping OS Name

Solution Partner Builder Solution Partner Builder
Solution Partner Builder

I've tried to get OS Name from Teamcenter Organization. So on the syntax Owner are the property name in NX.

Re: Mapping OS Name

Gears Phenom Gears Phenom
Gears Phenom

"Owner" : Item.owning_user.user_name /master=iman /description="Owner"

 

"Owner" is the property in NX that will map to Item.owning_user.user_name.

 

Does the property named "Owner" exist in your NX files? Do you get any errors or this just doesn't work?

 

Re: Mapping OS Name

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Enter the query builder and select a query for items or revisions.

Now set the display settings as shown below.TcQueryDisplaySettings.PNGQuery Display Settings

Search for the owning_user attribute and double-click it to get the list of its attributes.

Search for os_username, which should hold the information of the field you mentioned.

"Owner_OSNAME" : owning_user.os_username /master=iman /description="OS name of owning user"

The above should then do the trick.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide