Open the menu

    Filter for Publishers

    The Filter for Publishers is a tool accessible through the In-Context Editing mode and Position Widgets. It allows the publisher to filter content in an interface.

    By default, the interfaces configured with the filter for publishers are of the List type.

    The LumisXP enables the inclusion of this filter in other interfaces. It is necessary to include this menu item in the interface definition in the respective servicedefinition.xml file.

    A filter consists of a field, an operator, and one or more values.

    PopUp - Filter for publishers
    Filter for publishers

    Fields

    The fields available to the publisher will depend on their dataTypes.

    Some of the allowed dataTypes are: String, Text, Integer, Double, DateTime, Boolean, contentId, lumisContentParentContent, lumisParentContent, lumisChannel, lumisPage, lumisPageTemplate, lumisPageOrPageTemplate, lumisPrincipal, Tags, Highlight, Categorization.

    The publisher can create more than one filter, and each filter can contain one or more values for the chosen field.

    Operators

    Each dataType has its specific operators. Thus, a text-type field cannot be filtered by a "greater than" operator, as this operator is used for numeric types and dates, for example.

    The list of possible operators is:

    • Is equal to
    • Is not equal to
    • Contains any
    • Contains all
    • Greater than
    • Greater than or equal to
    • Less than
    • Less than or equal to
    • Has any value
    • Does not have value

    Values

    Just as each dataType has its specific operators, it also has specific frontends for the value field.

    Thus, if the filtered field is, for example, of type date, the frontend for it will be a dateTimePicker. Likewise, for a type text, it will be a textarea, and a type boolean, a checkbox.

    Through a or button, it is possible to add more values to the filter.