The table shows all the fields that you must include in the IDX file for static promotion rules.
Field | Description | Content type or value |
---|---|---|
#DREREFERENCE
|
The reference for the rule. | String |
#DRETITLE
|
The title of the rule. | String |
QMSTYPE
|
The type of the QMS rule. | 2
|
QMSAGENTBOOL
|
The AgentBoolean expression used to match the original query text. | Boolean matching expression |
QMSFIELDTEXT
|
The FieldText rules to match the original query text. | FieldText expression |
QMSVALUE1
|
The references of the promotion documents. | Comma-separated list of strings |
PROMOTION_NAME
|
The value that QMS must return in the
|
String |
QMSUSERTYPE
|
The value that QMS must return in the autn:usertype element. |
String |
QMS_PROMOTION_ITEMS
|
Data for promotions that do not exist in the content database. | String list. Separate items in the list with \n and then percent-encode the list. |
QMS_PROMOTION_ITEM_COUNT
|
The number of promotions included in the QMS_PROMOTION_ITEMS field. |
Number |
FIELD_CRITERIA
_DATABASEMATCH
|
(Optional) When specified, QMS uses the value of this field as the value of the DatabaseMatch parameter in the query to the Content component, and treats it as a database restriction. |
|
QMS_SCOPE_RULE
|
(Optional) You can use this field with the PromotionsScope query parameter to return only promotions that match the text that you specify as the scope rule. This allows you to filter the list of returned promotions by user-defined criteria such as a specific department or job function. |
String list. Separate items in the list with a comma. |
DRECONTENT
|
Terms to match the query text. | String |
You must also add either:
ALWAYSACTIVE
field with the value True
.SCHEDULE
field with iCalendar data. See Create a QMS Rule IDX Document.
|