Skip to main content
1-Visitor
November 29, 2017
Solved

reuse windchill system parameters in DTI

  • November 29, 2017
  • 1 reply
  • 2625 views

Hi, I have been looking for some time into how I reuse certain Parameters from windchill in my Excel or Word templates.

I can easily see the majority of parameters and reuse these, however I would like to see who last modified the document. If I look at the windchill database it shows who last modified the file quite easily but I simply cannot get this into my documents.

Please someone can you tell me the correct syntax to drive this into excel. 

I have support with one of the main resellers and they are not making any headway on this for me. 

 

the parameter appears on the windchill page as "Modified by"

Best answer by gmehta

You need to add this to the msoimap file on your server.

Backup your files before making any changes!!!!!!!

XXXX\Windchill\codebase\com\ptc\windchill\enterprise\nativeapp\msoi\server\msoimap.xml

 

in the <type key="wt.doc.WTDocument"> section you have to add

 

<attribute>
           <ms_name>Doc ModifiedBy Name</ms_name>
           <wt_name>modifier.name</wt_name>
           <display>true</display>
           <attrFormat>string</attrFormat>
</attribute>

 

No need for MS resetart etc. Just open doucment again from WC and you should see new attribute "name" this is the last person who modified the doc last.

 

 

Check out this PTC article it explains a lot more about the msoimap file.

https://www.ptc.com/en/support/article?n=CS36657&language=en&posno=1&q=CS36657&source=search

 

 

 

 

1 reply

gmehta1-VisitorAnswer
1-Visitor
December 13, 2017

You need to add this to the msoimap file on your server.

Backup your files before making any changes!!!!!!!

XXXX\Windchill\codebase\com\ptc\windchill\enterprise\nativeapp\msoi\server\msoimap.xml

 

in the <type key="wt.doc.WTDocument"> section you have to add

 

<attribute>
           <ms_name>Doc ModifiedBy Name</ms_name>
           <wt_name>modifier.name</wt_name>
           <display>true</display>
           <attrFormat>string</attrFormat>
</attribute>

 

No need for MS resetart etc. Just open doucment again from WC and you should see new attribute "name" this is the last person who modified the doc last.

 

 

Check out this PTC article it explains a lot more about the msoimap file.

https://www.ptc.com/en/support/article?n=CS36657&language=en&posno=1&q=CS36657&source=search

 

 

 

 

RoyCrerar1-VisitorAuthor
1-Visitor
December 14, 2017

Thanks for your reply. I have already attempted this method and it doesn't seem to work for me. The support team have also looked at my updated msoimap and cannot work out why it is not giving me the results I need. Thanks for the help.