Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hello everybody,
In the Windchill 10.1 M40, was possible to configure a folder path fixed to create some Types.
<!-- set the folder -->
<AttrValue id="folder.id" algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm">
<Arg>/Default/THALES/RIDs</Arg>
</AttrValue>
But now In Windchill 10.2 M20 this process doesn't work.
Does anybody already made it in Windchill 10.2 M20???
Thanks
Solved! Go to Solution.
10.2M020 is working for me with following xml code
<!-- set the folder -->
<AttrValue id="folder.id" algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm">
<Arg>/Default/Parts</Arg>
</AttrValue>
<!-- specify AttrConstraint tag -->
<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>
Hell,
It's necessary to add this line in OIR :
<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.GetRendererConstraint">
<Arg>SelectGeneratedFolderByDefault</Arg>
</Value>
</AttrConstraint>
Best regards
Pascal
10.2M020 is working for me with following xml code
<!-- set the folder -->
<AttrValue id="folder.id" algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm">
<Arg>/Default/Parts</Arg>
</AttrValue>
<!-- specify AttrConstraint tag -->
<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>
Thank you!!!
It's Works with me too!!!
=D