Cancel
Showing results for 
Search instead for 
Did you mean: 

Adding "owner" and/or "last modified" to ANT

Honored Contributor
Honored Contributor

Is it possible to extract the file owner, and last modifier, from Teamcenter, and display it in the ANT?

 

A previous thread here discussed, and explained how to add the last modified date:

https://community.plm.automation.siemens.com/t5/NX-Design-Forum/Last-Modified-Date-column-required-i...

 

Looking thru the docs, I don't see anything that tips me off to the "owner", or "last modified by".

https://docs.plm.automation.siemens.com/tdoc/nx/11.0.2/nx_help#uid:index_tcint:id1299676:tc_nav_add_...

-Dave
NX 11 | Teamcenter 11 | Windows 10
7 REPLIES 7

Re: Adding "owner" and/or "last modified" to ANT

Siemens Honored Contributor Siemens Honored Contributor
Siemens Honored Contributor

@DaveK wrote:

Is it possible to extract the file owner, and last modifier, from Teamcenter, and display it in the ANT?

 


Hi @DaveK 

 

Try adding these:

 

  • last modifier: last_mod_user
  • file owner: owning_user

 

Regards, Ben

Re: Adding "owner" and/or "last modified" to ANT

Honored Contributor
Honored Contributor

Looking back, this is how we did it, and not with TC_NX_ADDITIONAL columns.

 

https://community.plm.automation.siemens.com/t5/Teamcenter-Administrators-Forum/Mapping-modified-dat...

 

Would the TC_NX_ADDITIONAL_COLUMNS method be better?

-Dave
NX 11 | Teamcenter 11 | Windows 10

Re: Adding "owner" and/or "last modified" to ANT

Siemens Honored Contributor Siemens Honored Contributor
Siemens Honored Contributor

Hi @DaveK 

 

That depends on whether you want to capture the values of the preferences as part attributes.  See my reply in the forum you linked to above.

 

Regards, Ben

Re: Adding "owner" and/or "last modified" to ANT

Honored Contributor
Honored Contributor

Any other suggestions for goodies I can offer up to the ANT?

-Dave
NX 11 | Teamcenter 11 | Windows 10

Re: Adding "owner" and/or "last modified" to ANT

Honored Contributor
Honored Contributor

Ok @BenBroad what did I screw up?

 

My ANT columns are available like expected, but empty.

Collumns.jpg

 

This is what Teamcenter looks like:

TcSettings.jpg

-Dave
NX 11 | Teamcenter 11 | Windows 10

Re: Adding "owner" and/or "last modified" to ANT

Siemens Honored Contributor Siemens Honored Contributor
Siemens Honored Contributor

@DaveK wrote:

Ok @BenBroad what did I screw up?

 

My ANT columns are available like expected, but empty.


IIRC, you'll need to right click in the ANT and choose "Refresh Teamcenter Information".

 

Regards, Ben

Re: Adding "owner" and/or "last modified" to ANT

Honored Contributor
Honored Contributor

doh...  thanks!

 

-Dave
NX 11 | Teamcenter 11 | Windows 10