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:
- In Oracle Visual Builder Studio, select Layouts, then .
- Select the Rule Sets tab, and from Dynamic Form, select ActionBarMessageFilterEditor.
- Duplicate the default layout.
- Select the layout you copied, then click the Templates tab.
- Select and duplicate ActionBar MessageFilter MessageType.
- 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
- Field Type:
- Preview and then test your changes.