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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! 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