Views

Overview

Views is where you create and manage the user interface for your app — the views. You can think of views as the screens the user moves through while using the app.

Views are configured to contain a number of components (buttons, lists, sliders, texts, images and so on), which gives the app user things to see and intreract with.

All created views can be accessed and used in Patchwork.

Types of view

There are two basic types of view:

View

A self-contained view allowing for information display or user interaction.

List View

A view to display information from a Dataset.

New view

To create a view:

  • Decide on which view type to create.

  • Click New

The creation dialog is shown.

  • Enter a Name for the view

  • Select Type of view to create

  • Click the Create button

The new view becomes available in the Views list.

Edit view

To edit (configure) a view:

  • Find the view to delete in the list

  • Click Duplicate on the right hand side of the row

Duplicate view

If you want to create a new view based on an existing one, you can copy (duplicate) it.

Views can be copied to other apps.

To duplicate a view:

  • Find the view to delete in the list

  • Click Duplicate on the right hand side of the row

The duplication dialog is shown.

  • Enter a New name for the view

  • Select Target app to copy the view to

  • Click the Copy button

The copied view becomes available in the Views list.

Delete view

To delete a view:

  • Find the view to delete in the list

  • Click Delete on the right hand side of the row

A confirmation dialog is shown.

  • Click OK

The view, and all references to it is deleted.