Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I also got similar requirement. Is there anyway the folder info can be managed in OIR.
I tried with putting Folder Path in Folder.id arg, but not worked.
In Reply to Patrick Williams:
Hi Everyone,
I'm trying to devise the product container folder structure to begin to manage various soft types of WTDocument. At this time I have first level folders with domains to control ACLs. These first level folders align to different functional areas in the company. Each functional area will be creating different or the same types of documents but each functional area should not have access to the other's documents.
Currently my thought is to have a Documents folder for each functional area.
Root
|-Functional Area 1
|-Documents
|-Functional Area 2
|-Documents
|-Functional Area 3
|-Documents
So on to my question... Is it possible in an OIR to give a relative path to force the destination? For example if I wanted the "Specification" document soft type to be able to be created in /Root/Functional Area 1/Documents and in /Root/Functional Area 2/Documents.
What are other companies doing to structure their Product containers to store and organize documents?
Patrick Williams | Engineering Systems | c:
[cid:image002.jpg@01CE0F44.6DA55E70]
You can specify default context folders using an OIR for the object. Below is an example that I used:
<attributevalues objtype="wt.doc.WTDocument|<strong">cc.grantprideco.DNG_PR">
<attrvalue final="false" force="false" ignore="false" algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm" id="folder.id">
<arg>/Default/FOLDERNAME</arg>
</attrvalue>
<attrconstraint final="false" force="false" ignore="false" algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints" id="folder.id">
<value algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue"> </value>
<value algorithm="com.ptc.core.rule.server.impl.GetImmutableConstraint"> </value>
</attrconstraint>
</attributevalues>
In the above code, just replace the cc.grantprideco.DNG_PR with your document soft type name and replacethe FOLDERNAME wording with the appropriate folder name that you want to use for the document type.
Benjamin Wilcox – IntelliServ<sup>™</sup>
PPM & PDM Administrator