Here is the steps,
Create a soft type and download a OIR. now edit OIR as shown below,
<!-- set the lifecycle -->
<AttrValue id="lifeCycle.id" algorithm="com.ptc.core.foundation.lifecycle.server.impl.LifeCycleTemplateAttributeAlgorithm">
<Arg>Basic</Arg>
</AttrValue>
.
.
.
<!-- specify AttrConstraint tag -->
<AttrConstraint id="lifeCycle.id" algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints">
<Value algorithm="com.ptc.core.foundation.lifecycle.server.impl.DiscreteLifecycleTemplateSetAlgorithm">
<Arg>Release</Arg>
<Arg>Basic</Arg>
<Arg>Review</Arg>
<Arg>Requirement</Arg>
</Value>
<Value algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue"/>
</AttrConstraint>
Upload this OIR and now we will find drop down against the Life-cycle template.
Create a soft type and download a OIR. now edit OIR as shown below,
<!-- set the lifecycle -->
<AttrValue id="lifeCycle.id" algorithm="com.ptc.core.foundation.lifecycle.server.impl.LifeCycleTemplateAttributeAlgorithm">
<Arg>Basic</Arg>
</AttrValue>
.
.
.
<!-- specify AttrConstraint tag -->
<AttrConstraint id="lifeCycle.id" algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints">
<Value algorithm="com.ptc.core.foundation.lifecycle.server.impl.DiscreteLifecycleTemplateSetAlgorithm">
<Arg>Release</Arg>
<Arg>Basic</Arg>
<Arg>Review</Arg>
<Arg>Requirement</Arg>
</Value>
<Value algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue"/>
</AttrConstraint>
Upload this OIR and now we will find drop down against the Life-cycle template.
No comments:
Post a Comment