Query Manipulation Server 26.3
Query Manipulation Server Help

# 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

Copyright 2026 Open Text
Version 26.3 | Last updated July 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.3

Topic Title: Example Parametric Cardinal Placement Rule