📈
Knowledge base
  • Getting started (placeholder)
  • Basics
    • Intro (placeholder)
      • "Hello world of PWA!" app
      • Testing the App
      • How to hide / show screen elements
      • Create user actions: switch screens, change data and make API calls
      • Screens
      • Show any platform Data in app ellements
      • Showing Data in app - Filters
      • Loops - display multiple line results in app
      • Automating Business Processes & Funnels via Triggers
      • Send and Receive data via external API integrations
      • Chaining API calls
      • Use MathJS formulas
  • PWAbility
    • PWAbility
      • App distribution
      • Saving Mobsted PWA App
      • Smart Messaging
      • Guaranteed delivery
      • Offline Mode
  • Messengers
    • Intro (placeholder)
      • Set up VK bot
      • Set up Facebook bot
      • Set up Telegram Bot
      • Set up Viber bot
  • Data
    • Import data (placeholder)
    • Export data (placeholder)
  • References
    • Intro(placeholder)
      • Constructor elements to build your app
      • Filter any backend and Object data
      • Manage app users and objects
      • Events
      • Statuses
      • Hashtags
      • Variables
      • Lists (placeholder)
      • User Access
      • API Description (placeholder)
Powered by GitBook
On this page

Was this helpful?

  1. References
  2. Intro(placeholder)

Filter any backend and Object data

Smart Filters

PreviousConstructor elements to build your appNextManage app users and objects

Last updated 5 years ago

Was this helpful?

Process and filter data, stored on the platform, to make it available anywhere via mechanism.

_______________

FILTERS' USAGE

Data sets that can be filtered

How to refer to filtered results

Where to reference Filtered data

  • Operations

Find filters in Constructor → Backend or Constructor → Objects:

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

________________

CREATE FILTER

  1. Go to Filters: Backend or Constructor → Objects

  2. Create new Filter: click ADD FILTER in the top left corner, then click Create New Filter.

___________________________

SET FILTERS' CONDITIONS

  1. Select the value to be compared. Possible options:

    • Action name of the Event

    • Object property, such as: Phone, Email, Login date.

  2. 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

  3. Select the comparison value. Possible options:

    • String from the dropdown

    • Any text typed in manually

_______________________________

CREATE EVENT/OBJECT FILTER

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

  1. Set up for Object filter that calculates the average age of people with mobsted.com email:

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

______________________

MERGE TWO FILTERS

Example: we created the filter that will display everyone with email on Mobsted OR Outlook domain, and who has US phone number.

  1. First filter will contain the required Email condition, we will name it as Email.

2. Second filter will contain the required phone condition merged (AND operator) with the Email filter above.

___________________________

USE AGGREGATE FUNCTIONS

Aggregation methods applicable for filter:

  • SUM

  • AVG

  • MIN

  • MAX

  • COUNT

______________________

USE PERIOD SETTING

_________________________________

PREVIEW YOUR FILTER RESULTS

____________________________________________________

SHOW / HIDE THE SAME FILTER FROM OBJECTS / EVENTS

________________________________________

SHOW FILTER RESULTS ON APP SCREEN

    1. Enable loop on the element you want to iterate

    2. Use your filter data as data source. In our case it is #ObjectsFilter:AgeEmail:Data#

    3. Name the loop. In our case it is AgeEmailLoop

MENTIONED ARTICLES

RECOMMENDED ARTICLES

data

in HTML Elements

in creation hashtag as value

To define

How to create Filter on Mobsted PWA platform

Key of the

Condition filter set up on Mobsted Multichannel PWA platform
Object filter set up on Mobsted Multichannel PWA platform
Event filter set up on Mobsted PWA multichannel platform

Filter can contain either AND or OR condition. In order to have OR + AND conditions use within new filter.

Logic of filter functionality on Mobsted PWA platform
Simple filter created on Mobsted PWA platoform
Filter with nested Filter in it created on Mobsted PWA platform
Example of using aggregation on Mobsted multichannel PWA making platform

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

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.

To hide / show the same filter in Objects and Backend section click ADD FILTER and select checkbox for the corresponding column.

It is possible to display filter results to app user by using .

Showing filter counts: We use to refer to Object's filer "Age" and show the Count of matching records. #ObjectsFilter:Age:Count#.

Note: for more detailed information on the set up, please, check article. You can also check how it is set up in Demo App in your acсount, screen - 8 Filters Count.

Iterating through filter records: We use functionality combined with loops to go through each record. How to set it up:

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:

Note: for more detailed information on the set up, please, check article. You can also check how it is set up in Demo App in your account, screen - 9 Filters Iterate.

Event
hashtags
Hashtags
Use automatic data filters
Hashtags
Apply loops to screen elements
Hashtags
Events
Objects
Use automatic data filters
Apply loops to screen elements
Referencing filter data
Objects
Events
Hashtags
Constructor
Events
elements visibility logic
Loops
hashtags
Hashtags
Demonstrares how to hide and show filters for Events and Objects on Mobsted multichannel PWA platform
The example of setting up fixed on dynamic time period in Filters on Mobsted multichannel PWA making platform
Example of how to preview Filter results in Filters on Mobsted multichannel PWA making platform