cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Syntax for setting a different Organization ID in OIR

DarrenStorey
7-Bedrock

Syntax for setting a different Organization ID in OIR

Does anybody have the correct syntax to use in the Object Initialization Rule xml for setting the organization ID. I can get the user to choose the organization but I prefer it be defined in the OIR for the type in context, visible but immutable. Aiming to make this effective for CADDoc, Part and Document types.


I tried the following in an attempt to set Org ID to "CustomerA" but evidently this is not right


<attrconstraint id="organization.id"&lt;br"/> algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"
ignore="false"
force="false"
final="false">
<value algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue">
<value algorithm="com.ptc.windchill.enterprise.org.server.impl.UserSuppliedOrgDefaultAlgorithm">
<arg>CustomerA</arg>
</value>
</value>
<value algorithm="com.ptc.core.rule.server.impl.GetImmutableConstraint"/">
</attrconstraint>

0 REPLIES 0
Top Tags