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

We are happy to announce the new Windchill Customization board! Learn more.

Context in OIR

ew
1-Newbie
1-Newbie

Context in OIR

How can I test in which Context (Product) I am in an OIR?

Tried some EqualsTest[String] but nothing worked so far.

How MyProductName should be represented to construct a valid test below?

Or is there a way to do String comparison?

<Value algorithm="wt.rule.algorithm.CaseBranch">
<Value algorithm="wt.rule.algorithm.EqualsTest">
<Attr id="containerReference"/>
<Arg>MyProductName</Arg>
</Value>
<Arg>Default</Arg>
<Arg>Basic</Arg>
</Value>

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
ew
1-Newbie
1-Newbie
(To:ew)

tested with <Attr id="containerName"/>, this seems to be the Product name

View solution in original post

1 REPLY 1
ew
1-Newbie
1-Newbie
(To:ew)

tested with <Attr id="containerName"/>, this seems to be the Product name

Top Tags