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
Hi All,
Anyone know how to set dedault value for hard attributes?
e.g. Set default value for a WTDocument's name
I tried use initial rule like this:
<AttrValue id="name" algorithm="wt.rule.algorithm.StringConstant">
<Arg>TestDefauleName</Arg>
</AttrValue>
<AttrConstraint id="name" algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints">
<Value algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue"/>
</AttrConstraint>
but it failed. anyone can give me a hand?
