Skip to main content
4-Participant
March 19, 2026
Solved

Fixed Product and fixed path in OIR for WTPart

  • March 19, 2026
  • 2 replies
  • 37 views

Version: Windchill 12.1

 

Use Case: Dear All, In the Windchill 12.1.2.17 was possible to configure a fixed product and fixed folder path to create WTPart. I need that all WTPart will be stored automatically in one product context under specific path MyProduct -> /MaterialMasters/ElectronicComponents Can you help me to define it in OIR?

Thank you Enrico


Description:

Dear All,
In the Windchill 12.1.2.17 was possible to configure a fixed product and fixed folder path to create WTPart.
I need that all WTPart will be stored automatically in one product context under specific path
MyProduct -> /MaterialMasters/ElectronicComponents
Can you help me to define it in OIR?

I tried with this sintax but it doesn't work

<!-- FOLDER -->
<AttrValue id="folder.id" algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm">
<Arg>MyProduct</Arg>
<Arg>/MaterialMasters/ElectronicComponents</Arg>
</AttrValue>


Thank you
Enrico

Best answer by TDT

Hi @ENRICORIPAMONTI,

 

There is no straightforward solution to implement this requirement.

Please refer to the following article to configure the usage of specific types for particular products.

https://www.ptc.com/en/support/article/CS258467?source=search

To configure the automated folder path, please refer to the following article.

https://www.ptc.com/en/support/article/CS21487?source=search

.

2 replies

Fadel
23-Emerald I
March 19, 2026

Are you sure ?

The OIR connont set context it sets only the subfolder. The context will be always the launch point from  where the create action is done

https://www.ptc.com/en/support/article/CS21487

regarding syntax take a look at ,  you need  to  set attribute constraint to  

https://www.ptc.com/en/support/article/CS226628

 

Buiꓘa
4-Participant
March 23, 2026

I'm aware of what you're saying, but my requirement is to have users always create all WTParts in the same context and the same folder path, regardless of the context they are currently in.
We have more than 1,000 contexts and users do not have full access, which they instead have — and must have — on the master data context.
Thank you anyway for your answers.

TDT16-PearlAnswer
16-Pearl
March 21, 2026

Hi @ENRICORIPAMONTI,

 

There is no straightforward solution to implement this requirement.

Please refer to the following article to configure the usage of specific types for particular products.

https://www.ptc.com/en/support/article/CS258467?source=search

To configure the automated folder path, please refer to the following article.

https://www.ptc.com/en/support/article/CS21487?source=search

.