Configuring Notifications

Notifications are short messages employed to communicate, announce, inform and remind the user about something useful. They can be automatically generated by the app (guided by some prescribed criteria) or pushed from the server.

 

We’ll go through the process of adding notifications whilst explaining the different terms and uses.

  • To add a notification, click on Notifications on the left-hand side menu
  • Click on the Create New Notification button on the top right-hand side
  • You would now see a box on your screen to configure the notification you are adding, click the Advanced button to unhide the advanced options.

 

You would now be seeing the following:

Notifications

Let’s understand the configuration parameters;

  • Title & Message
    The actual title and message that will be shown as a notification on the device, this is a required field.
  • Description
    A small description explaining what the Notification does, added by the administrator of the app as an internal comment. This is a required field.
  • Type
    Whether the notification is an announcement, information or a reminder. This selection prescribes the appropriate icon for the notification for quick and easy understanding.
  • Origin
    Choose whether the Notification is Local or triggered from Server, that is, administrator controlled.
  • Start
    The date and time from which the notification becomes operational. Leaving it blank makes it operational instantly.
  • End
    The date and time until the notification remains operational. Leaving it blank makes it operational for good.

Advanced Options

  • Message Type
    Whether it is a simple text-based message or expression based (for computing some value at run-time). When Expression is selected here, an expression is entered in the Message box above.
  • Scope
    Can be Server Polled, Local, PUSH, etc.
  • Sync Entities
    Configure the Entities that may require syncing upon trigger of the notification, so that new data is fetched, etc.
  • Condition
    Condition which determines when the notification should be shown.
  • Action Type
    To define what happens when a user interacts with the notification, like show a particular page or form (NavigatePage), Open Notifications Page or Show Category Page (Home).
  • Target Page
    If you have selected NavigatePage from the drop down list in Action Type, you need to select the page to wish to navigate to, from here.
  • Login Required
    Whether you require Logging in after the user taps on the notification, as an added security measure.
  • Destination
    Settings for target device filtering based on certain criteria (only executives, only field workers, etc).
  • Frequency
    Whether it’s a one-time notification or recurring and in the latter case; how often.

Let’s create a simple notification:

  • Click on Notifications on the left-hand side menu
  • Click on the Create New Notification button on the top right-hand side
  • We enter some basic information and then click Save:

Notifications

 

  • Now, go to your app, Make sure you Update (Settings > Update) to apply the changes made. And, there you have it.
  • Here’s what your Notifications Page might look like:

Notifications

 

  • Tapping on a notification changes its color from grey to white marking it as read.

Notifications

  • All your notifications are neatly arranged in the Notifications Page on MiracleStudio.
  • You can easily search, remove or edit them from one place.