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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Context in OIR

ew
7-Bedrock
7-Bedrock

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

ACCEPTED SOLUTION

Accepted Solutions
ew
7-Bedrock
7-Bedrock
(To:ew)

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

View solution in original post

1 REPLY 1
ew
7-Bedrock
7-Bedrock
(To:ew)

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

Announcements


Top Tags