Open topic with navigation

# Static Promotion Rules

The following table shows all the fields that you must include in the IDX file for static promotion rules.

NOTE:

The rule format described in this table assumes that the documents that you want to promote exist in your IDOL Server data index. HPE recommends that you promote only indexed content. However, if required, you can also add promotion items into your static promotion IDX. See Promote Non-Indexed Content.

Required IDX fields 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 HPE 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 HPE QMS must return in the `autn:promotionname` element. | String
`QMSUSERTYPE` | The value that HPE QMS must return in the `autn:usertype` element. | String
`FIELD_CRITERIA` `_DATABASEMATCH` | (Optional) When specified, HPE 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:

- the `ALWAYSACTIVE` field with the value `True`.
- a `SCHEDULE` field with iCalendar data.

See Schedules for QMS Rules.

Related Topics

- Create Query Manipulation Server Rules
- Create a QMS Rule IDX Document
- Scope Rules

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm