In Fliplet, data used in the app is stored in a data source. Apps can display data and write data to a data source.

Features

Managing data sources offers the following features:

  1. App builders can delete, add, and move columns or rows to gain more control over how collected data is organized.
  2. App builders can make sure information is being stored correctly by the app. 
  3. Manage data source permissions.

Get Started

To manage data sources you will need to:

  1. Select an existing data source or create a new data source.
  2. Edit user permissions and the data source definition (optional)
  3. How to populate a data source with data
  4. How to export data from a data source

View app data and choose a data source to manage

There are three ways to find and open a data source:

  1. From the “App data” section from the home screen. Here you will see all data sources you have access to.



  2. From within an app, from the “App data” section in the icon menu on the right. This will show you all data sources used by the current app you’re in.


  3. From a component that uses a data source if you click “Edit data source”. This shows you the specific data source used by the component.


Move columns

  1. To move a column, select the column by clicking on the letter of the column and drag the entire column left or right. 
  2. Drop it where you wish to place it, make sure you see a black vertical line showing where the column will be moved.

    Before


    After

Delete columns/rows and add columns/rows

  1. To delete a column, click on the letter above the column heading to highlight the entire column. Then use the toolbar click on the “Delete column” icon.


  2. To undo an action, click the “Undo” icon.


  3. To delete a row, highlight the entire row by selecting the number next to the row you would like to delete. Then click on the “Delete row” icon.


  4. To add a column or add a row before or after the highlighted column or row, hover over the icons/ buttons at the top right of the spreadsheet to see the different actions and choose the action you wish to complete. Some of the actions are pictured in the images below.



  5. Click the blue “Save changes” button.

Edit user permissions and the data source definition (optional)

  1. To give a user permission to edit your data source, the best method is to give the user edit rights to the app that uses the data source. All app editors can manage data sources.
  2. If that isn’t an option, you can use the “User permissions” tab to give a user access.
  3. Click “Add new user” and add the user by their user ID.
    1. The user ID can be found only by your organization admin in the user section. Select what permission the user should have. To give a user full permission you need to type crudq, so a combination of the letters depending on the permissions you want to give them. The letters stand for:
      1. C = create
      2. R = read
      3. U – update
      4. D – delete
      5. Q – query
  4. To remove access, click “Delete permission” to delete a user. 

Step 5 –  How to populate a data source with data

  1. Open the excel or google sheets spreadsheet where the data you wish to use is stored.
  2. Highlight and copy the data.


  3. Open a data source (see Step 2 below for more information on how to do this).
  4. Paste the data you copied from excel or google sheets in the data source.


  5. Type directly in the cells in the data source interface.
  6. If you wish to store user data in the data source, create a form screen in your app to collect data from users and link it to the data source. For more information on creating a form, read this article.

Step 6 –  How to export data from a data source

  1. Highlight all of the data (command + a on a mac, control + a on windows).
  2. Copy the data and paste it into excel or google sheets.

 

Was this article helpful?
YesNo