Article - CS370341
Which Algorithm can be used for String Concatenation in Object Initialization Rule (OIR) in Windchill PDMLink
Modified: 17-Mar-2025
Applies To
- Windchill PDMLink 11.1 to 12.1
Description
- Which Algorithm can be used for String Concatenation in Object Initialization Rule (OIR)
- wt.rule.algorithm.StringConstant is not working for String Concatenation
- Trying to add a Prefix to an attribute and reference the value for an auto generated number, does not work as expected and only provides the first string after <Attrvalue>, example:
-
<AttrValue id="number2" algorithm="wt.rule.algorithm.StringConstant"> <Arg>CAD</Arg> <VarRef id="GeneratedNumber"/> </AttrValue> - As seen above, if Prefix is the first one added then only the Prefix is set as the value for number2 attribute, and if the generated number is set first on the OIR, the only the number is set
-
This is a printer-friendly version of Article 370341 and may be out of date. For the latest version click CS370341