Filter any backend and Object data

Updated 1 week ago by Mobsted Support L

FILTERS

Process all types of data stored at the platform to make filtered results available across the platform via hashtags mechanism all across the platform.

USAGE

Data sets that can be filtered

How to refer to filtered results

Where Filtered data can be referenced

  • Objects data
  • Events
  • Lists (LINK PENDING)

Find filters at ConstructorBackend or ConstructorObjects:

How Filters are displayed in Mobsted PWA multichannel platform from the Events tab

Each Smart Filter works with Events and Objects simultaneously. For example: if the filter counts how many clicks were made on the particular button in the Events, same filter would show how many people clicked the button in the Objects section.
CREATE FILTER

To create new Smart Filter, click "ADD FILTER" at the top left corner, then click "Create New Filter".

Example of the creation of the Filter on Mobsted PWA platform

SET FILTERS' CONDITIONS

Select value to be compared. Possible Options:

  • Action name of the Event
  • Key of the Event
  • Object property, such as: Phone, Email, Login date.

_

Select the comparison criteria. Possible Options:

  • Equal ( = ) - strict match.
  • Not equal ( <> )
  • Contains
  • Doesn't Contain
  • Is Set - checks if the field specified is NOT empty
  • Is Not Set - checks if the field specified is empty

_

Select the comparison value. Possible Options:

  • String from the dropdown
  • Any text typed manually

The view of the condition filter set up on Mobsted Multichannel PWA platform

Example 1: Creating Object filter that calculates the average age of people with the mobsted.com email.

The view of the filter set up on Mobsted Multichannel PWA platform

Example 2: Creating Event filter that calculates the number of clicks on the button with the BackendName "updatePhone" within the last 7 days.

Example of the Filter set up for the Events within Mobsted PWA multichannel platform

MERGE TWO FILTERS

The filter can contain either AND or OR. In order to merge OR and AND conditions use hashtags within the new filter.

For example: Let's create the filter that would display everyone with email on Mobsted OR Outlook domain, and who have US phone number.

Venn diagram demonstrating the logic of the filter on Mobsted PWA platform

  • First filter would contain the required Email condition, we will name it as Email.
Simple filter created on Mobsted PWA platoform

  • Second filter would contain the required Phone condition merged with the condition filtering Emails that fall into the First Filter
Filter with nested Filter in it created on Mobsted PWA platform

USE AGGREGATE FUNCTIONS

Aggregation method applicable for the filter. Possible Options:

  • SUM
  • AVG
  • MIN
  • MAX
  • COUNT

Example of using aggregation on Mobsted multichannel PWA making platform
USE PERIOD SETTING

Set up time period the filter would be applied on. Could be fixed period between days specified, or the dynamic - older than 2 days / younger than 3 weeks. Could be used with OR or AND conditions, but not combined.

The example of setting up fixed on dynamic time period in Filters on Mobsted multichannel PWA making platform
PREVIEW YOUR FILTER RESULTS

Click on the filter to see all the data applicable to it. To see all the data click again on the filter to unselect it.

Example of how to preview Filter results in Filters on Mobsted multichannel PWA making platform

SHOW / HIDE THE SAME FILTER FROM OBJECTS / EVENTS

To hide / show the same filter in / from Objects and Events section, click "ADD FILTER" and select checkbox for the corresponding column

Demonstrares how to hide and show filters for Events and Objects on Mobsted multichannel PWA platform

SHOW FILTER RESULTS AT THE APP SCREEN

It is possible to display filter results to the mobile user by using Hashtags.

Example 1:

Showing filter counts:

We use Hashtags functionality to reference Objects Filter Age and call it's count - the number of records that fall under filter condition.

#ObjectsFilter:Age:Count#

Example 2:

Iterate though the filter records:

We use Hashtags functionality combined with loops to go through each loop record.

How it's set up:

  1. Enable loop on the Element you want to iterate
  2. Use your filter data as data source. In our case it is #ObjectsFilter:Age and Email:Data#
  3. Name the loop. In our case it is AgeEmailLoop
  4. Reference the loop and call the properties of the Object that you want to display, in our case it is Name ( #Loop:AgeEmailLoop:objects@Name# ) and Age ( #Loop:AgeEmailLoop:objects@Age# )

Mobile View:

MENTIONED ARTICLES


Was it useful?