If you only need to retrieve the value of a field in a script, you do not have to create a field variable. In this case you can use a field reference (&<field name>).if(&countryCode = "USA")
{
$overlay = "USA.lxf";
}&<field name>
Field references are case sensitive. For example, if the field name in the Event is countryCode, the field reference must be &countryCode and not &Countrycode.
In StoryTeller, you can not use a &<fieldname> reference. To retrieve the value of a field reference, use the StEvalXPath function.For example, $value = StEvalXpath("fieldname");
OpenText StreamServe 5.6 | Updated: 2013-03-01 |