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

Context in OIR

SOLVED
ew
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
Highlighted

Re: Context in OIR

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

1 REPLY 1
Highlighted

Re: Context in OIR

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