Query Manipulation Server 26.2
Query Manipulation Server Help

# Cardinal Placement Rules

Cardinal placement rules allow you to insert documents at a specified location in a results list for a query.

The table shows all the fields that you must include in an IDX file for cardinal placement rules.

Required IDX fields for cardinal placement 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. | `1`
`QMSAGENTBOOL` | The AgentBoolean expression used to match the original query text. | Boolean matching expression
`QMSVALUE1` | The reference of the document to insert. | String
`QMSVALUE2` | The position at which to insert the cardinal placement document in the results. | Number (result position)
`#DRECONTENT` | The content to match the Boolean field. | Keywords from the AgentBoolean string

You must also add the `ALWAYSACTIVE` field with the value `True`, or a `SCHEDULE` field with iCalendar data. See Create a QMS Rule IDX Document.

Related Topics

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

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Query Manipulation Server 26.2

Topic Title: Cardinal Placement Rules