Extend Activity Stream message filtering

You can extend the Service Requests Activity Stream filter options using Visual Builder Studio. This filter is an editable filter chip in the Action Bar.

In this example, we'll add the MessageSubType field. Adding this field allows users to filter SR messages by both Message Type and Subtype.

Here's how you do the configuration:

  1. In Oracle Visual Builder Studio, select Layouts, then Service Center > ServiceRequests > Messages.
  2. Select the Rule Sets tab, and from Dynamic Form, select ActionBarMessageFilterEditor.
  3. Duplicate the default layout.
  4. Select the layout you copied, then click the Templates tab.
  5. Select and duplicate ActionBar MessageFilter MessageType.
  6. From the Components pallet, add CX Service Action Bar Filter Criteria, select Fragment Container, then in the General Properties form, enter the following parameters:
    • Field Type: select-multiple
    • Field ID: MessageSubTypeCd
    • Item Text: Meaning
    • Metadata: [[ $metadata ]]
    • Filter Criteria: {{ $value }}
    • Filter Criteria Inputs: [[ $dynamicLayoutContext.componentContext.filterEditorFormInputs ]]
    • Filter Object Name: messages
  7. Preview and then test your changes.