Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: Object Initialization Rules

$
0
0

Hi malavika,

 

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>/Default/Documents/</Arg>

  </AttrValue>

 

<AttrConstraint id="folder.id" algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints">

     <Value algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue"/>

   <Value algorithm="com.ptc.core.rule.server.impl.GetImmutableConstraint"/>      

  </AttrConstraint>

 

</AttributeValues>

 

Yes, the radio button on the location is gone and the location is generated. But my problem is even the other type of document it is generated on my "DOCUMENTS" folder. It supposed to be on the DocsRef type only. What am I going to do in my code?.

 

Thanks!

luar

 



Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>