Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

Object Initialization Rules

$
0
0

Hi,

 

I create a document subtype named "DocsRef" What I'm trying to do is  when you create a document under "DocsRef" The default folder shoul be "DOCUMENTS"

 

I create OIR and this is my code.

 

<AttributeValues objType="wt.doc.WTDocument">

 

 

  <AttrValue

    id="folder.id"

    algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm"

    ignore="false"

    force="false"

    final="false">

    <Arg>/wchill://Windchill/Product/Projects/Documents/</Arg>

  </AttrValue>

 

</AttributeValues>

 


After that I create new rules and named it DocsRef and I choose DocsRef type and upload the xml file with the code above.

 

When I try to create new document under DocsRef type. I received this error.

 

Untitled.png

 

can somebody tell me what is the cause of the error?

 

Thanks!

Luar


Viewing all articles
Browse latest Browse all 3592

Trending Articles