Skip to main content
1-Visitor
Oct 23, 2012 1:57 PM UTC
Solved

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

ew_01Answer
1-Visitor
Oct 25, 2012 11:07 AM UTC

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

1 reply

ew_011-VisitorAuthorAnswer
1-Visitor
Oct 25, 2012 11:07 AM UTC

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

Translate