Patchwork

Overview

You can build logic by setting navigation, data flow and control flow in the application. User use this module to combine different patches of the application and build specific logic. Different patches can be views, data sets and files.

This feature used to connect different patches and UI designs to build specific logic.

Purpose of this module

  1. Build application logic

  2. Connect Dataset with Views

  3. Define screen navigation

  4. Set data navigation (by mapping of in and out parameters between screens)

  5. Define Menu items.

  6. Define Context menu

image

This module builds logic and navigation for application that we are targeting. There are more modules required to build application like App Datasets and Views. Patchwork connects all the patches created in these modules and build Application logic.

For example, we have a Login screen design in view; on press of Login button, it gives credentials to next screen in form of output parameters. Using Patchwork, we can specify event on Logic screen and pass/map values received as output parameter to validation screen.

Available Patches

Patch name Description

Views

Views created by user will display under this section.

List Views

Views can be created to List type. These views can be design to hold list of items. User created List types of views will be listed under this section.

Dataset Views

When user adds Dataset in App Datasets,it will add a default bank view associated with that dataset. We can see these kind of datasets related views here. Dataset view patches comes with predefined events.

Predefined action events:

onItemSelect
OnItemDelete
onItemUpdate
onItemCreate

On these events user can connect another view.

Navigation Patches

Main Menu

You can add new patch for Main Menu.

Sub Menu

You can add Sub menu to menu.

Authentication Logic

Auth

Is the user signed in? Navigates to true/false accordingly

Login

Takes email and password (can be hard coded) and attempts to log the user in

Signup

Takes email, password, name and attempts to create an app account for this email address

Logout

Logs the user out

Change password

Takes the current password and a new password and attempts to change a signed in user’s password

Reset password

Takes email and attempts to reset that account’s password for this app

Native App logic

Open map

Open the device’s default map app to a certain latitude and longitude

Add to calendar

Open the device’s native “Add to event to calendar” dialog with pre-filled data

Go to settings

Open the device’s settings page for the current app

Data refresh logic

Refresh patchwork

Reloads the app structure manually from the API

Refresh user groups

Reloads the user groups the user is a member of manually

User management logic

Create user

Creates an app user

Update user

Updates an app user

Delete user

Deletes an app user

Get user

Fetches an app user

Dataset management logic

Add to dataset

add data to a dataset

Remove from dataset

remove an item from a dataset by rowId

Update item from dataset

update an item in a dataset by rowId

Group Logic

Make a user a member of group(s)

Make a user a member of 1 or multiple groups

Remove a user from group

Remove a user from a group

Toggle user group membership

Toggle a user’s membership from a group

Push notification logic

Request push permissions

Request push notification permissions. Triggers the appropriate platform specific request

Revoke push permissions

Revoke push notification permissions

Check push permissions

Is this device subscribed to push? Navigates to true/false accordingly

Send push notification

Send a push notification from the device to other devices

API Category

Integration

This patch can be use to connect to API integrations specified and call specific method of integration.