Query Manipulation Server 24.2

# 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 IDOL Server 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 2024 Open Text
Version 24.2 | Last updated March 2024

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: IDOL Query Manipulation Server 24.2

Topic Title: Example Static Promotion Rule