Example Parametric Cardinal Placement Rule

The following parametric cardinal placement rule inserts the value spinach at the top of a query for the values of the field VEGETABLE that includes the terms carrot or broccoli.

#DREREFERENCE automation_cardinal_placement
#DRETITLE cardinal placement 1
#DREFIELD QMSTYPE="8"
#DREFIELD QMSAGENTBOOL="carrot OR broccoli"
#DREFIELD QMSFIELDNAME="VEGETABLE"
#DREFIELD QMSFIELDVALUE="spinach"
#DREFIELD QMSFIELDTEXT=""
#DREFIELD QMSVALUE="1"
#DRECONTENT
carrot broccoli
#DREENDDOC

For example, this rule inserts the value spinach at the top of the list of values in the following query:

action=GetQueryTagValues&Text=broccoli&FieldName=VEGETABLE

_HP_HTML5_bannerTitle.htm