/
Rule XML
Rule XML
The Hawksworth rule on the dashboard is represented in this serialized XML format as follows:
<?xml version="1.0" encoding="utf-16"?>
<Rule xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RuleType="Group" Operator="All">
<Rules>
<Rule RuleType="Eval" Operator="None">
<Rules />
<Field>keyword:SKU</Field>
<Condition>is</Condition>
<Value>ABC123</Value>
</Rule>
</Rules>
<Field />
<Condition />
<Value />
</Rule>
Note: the prefix before fieldname (line 7) is decided based on the following:
Use keyword
if the field is setup as NOT Stemmed and there is no facet associated with it
Use facet
if the field is setup as NOT Stemmed and there is a facet associated with it
, multiple selections available,
Related content
Update facet to add a display rule
Update facet to add a display rule
More like this
Using API to Create Fields
Using API to Create Fields
More like this
Rule XML Objects
Rule XML Objects
More like this
Normalizing Casing of Facet Values through SIM
Normalizing Casing of Facet Values through SIM
More like this
Using API to Create Facets
Using API to Create Facets
More like this
Using API to Get Field Information
Using API to Get Field Information
More like this