Query Manipulation Server 25.3
Query Manipulation Server Help

# Example Static Promotion Rule

The following QMS rule returns when you send a query for promotions that contains one or more of the terms news, drama, or data in the query text. QMS then returns the document with the reference `4567389246372`.

    #DREREFERENCE static_promotion
    #DRETITLE url_redirect_1
    #DREDBNAME ACTIVATED
    #DREOUTPUTENCODING UTF8
    #DRELANGUAGETYPE englishUTF8
    #DREFIELD QMSAGENTBOOL="news OR drama OR data"
    #DREFIELD PROMOTION_NAME="static_promotion_1"
    #DREFIELD QMSTYPE="2"
    #DREFIELD QMS_PROMOTION_ITEMS="0"
    #DREFIELD QMS_PROMOTION_ITEM_COUNT="0"
    #DREFIELD QMSVALUE1="4567389246372"
    #DREFIELD ALWAYSACTIVE="True"
    #DRECONTENT
    NEWS DRAMA DATA
    #DREENDDOC

For example, the following query to QMS returns this promotion:

    action=Query&Text=drama&Promotions=True

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

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 25.3

Topic Title: Example Static Promotion Rule