cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Allow Modification of File Name (primary content) in OIR when Creating a new Windchill Document

Allow Modification of File Name (primary content) in OIR when Creating a new Windchill Document

Windchill does not currently allow interaction or modification of the primary content file's <file_name> in an Object Initialization Rule (OIR) when creating a new WTDocument. I would like to be able to read, modify and change this value in an OIR.

 

Comparing WTDocument to EPMDocument, you can  see many more capabilities available for EPMDocument vs. WTDocument (such as File Name). Where feasible, the attributes, layouts and capabilities for these two type of object should be as similar as possible.

 

I have a few examples to demonstrate the need.

 

  1. Read the file name, process with regex, assign OIR attributes and assign object attributes.
    This would be a good way to pull a business number (PO, SO, etc.) from a document's file name and automatically populate an attribute with a value vs. requiring the user to enter it manually.
  2. When changing the Document Name in an OIR, it would be nice to also rename the primary content <file_name> to match the Document Name defined in the OIR.
  3. If the primary content's <file_name> does not match the Document Name, it can be difficult to work with the documents outside of Windchill since they will not be listed or displayed in the same way.

 

Someone may have work-arounds or customizations to support this, so please comment if you do. I would be interested to hear or any alternate ways to achieve these use cases.

 

Other related Ideas to consider.

2 Comments
BjoernRueegg
17-Peridot

This idea is needed right away! Thingworx Navigate shows only the filename of the WTDocument and nothing else. So it is a requirement to have some information about the WTDocument insde the filename. Otherwise I don't know how user can work without a "self spoken" filename. 

olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.