Lucy
  • Introduction to Lucy
  • Getting Started
  • Key Components
  • Gallery (Dashboards)
    • Creating a Canvas
    • Editing Properties of a Canvas
    • Searching and Viewing Your Canvases
    • Adding Widgets onto Your Canvas
    • Customising User-created Widgets on a Canvas
    • Adjusting Widget Settings
    • Moving a Widget around a Canvas
    • Resizing a Widget on a Canvas
    • Filtering Data in a Widget
    • Deleting a Widget from Your Canvas
    • Building a Widget from Your Canvas
    • Customising a Canvas
  • My Work (Folders)
    • Creating a New Folder
    • Searching and Viewing Your Folders
    • Adding Notes related to a Folder
    • Databases
      • Understanding Databases
      • Creating and Editing Databases
        • Creating a Database Manually
        • Creating a Database by Importing Data from an External Source
        • Using an External Source as a Database
        • Editing Fields in a Database
      • Editing Data in a Database
      • Using the Database Collection Viewer
      • Searching, Filtering, and Sorting Data in a Database
      • Exporting Data from a Database
      • Utilising Content-aware Autofill to Automatically Fill in Fields in Your Database
      • Entering a Question about Databases within a Folder to Build Your Own Widget
      • Adding Data into a Database
    • User Interfaces
      • Designing a User Interface
        • Designing a User Interface to Visualise Information
        • Designing a User Interface to Capture User Feedback
        • Designing a User Interface from Scratch
      • Working with the Widget Designer
      • Selecting a Widget Template
        • Item List Widget Template
      • Viewing Your User Interfaces
      • Sharing a User Interface
      • Saving a Widget as a Template
      • Exporting a User Interface
      • Enabling Anonymous Access to a User Interface
    • Workflows and Integrations
      • Using the Workflow Editor
      • Creating Workflows
      • Creating a Workflow to Run When New Data is Added to a Database
      • Creating a Workflow to Run When an Email is Received
      • Creating a Workflow to Run When a Message from a Chatbot is Received
      • Creating a Workflow that Runs at Specified Intervals
      • Viewing and Editing Your Workflows
      • Automating Form Submission with Email Notification
      • Automating Form Submission with Slack Message
  • Add-ons
    • Installing a New Add-on in Lucy
    • Visitor Management
    • Monitoring Internal Air Quality (IAQ) at Your Workplace
    • Setting up Occupancy Analytics at Your Workplace
    • Energy Budgeting
    • Water Budgeting
    • Gas Budgeting
    • Carbon Footprint Calculation
    • Weather
  • Mobile App
    • Getting Started
    • Designing Your Mobile App
      • Working with the Mobile App Designer
      • Handling Button Click Events
      • Designing the Login Page
      • Designing the Homepage
      • Designing the Settings Page
      • Choosing a Page Type
      • Adding a New Tab to the Bottom Navigation Bar
      • Launching a Widget on Tab Click
  • Users
    • Registering a User
    • Creating a User Group
    • Searching and Viewing Users
    • Editing User Details
    • Your Profile
  • News Feeds
    • Creating a News Feed
    • Searching and Viewing News Feeds
    • Editing a News Feed
Powered by GitBook
On this page
  • Creating a Database from Scratch
  • Building a Database using an Existing Template
  • Previewing Your Database
  1. My Work (Folders)
  2. Databases
  3. Creating and Editing Databases

Creating a Database Manually

Databases can be created either from the ground up or by choosing an existing database template.

When designing your database with an existing database template, you can select a pre-designed template that comes with a predefined structure and build your database using it. This might require a few adjustments such as modifying available fields, adding more fields to tailor the database to your specific needs.

Creating a Database from Scratch

Besides selecting a database template to create a database, you can always design your database yourself by adding required fields and their data types.

Let's create your database from scratch.

  1. On the app homepage, go to the My Work tab on the left sidebar.

  2. All the folders you have created, as well as those created by others, will be listed.

  3. Click on the required folder to open it.

  4. If you cannot locate the folder in the list, type in the folder name under Search Folders. From the search results, click on the desired folder to open it.

  5. Go to the Databases tab.

  6. Click the Plus icon and pick the Create Manually option.

  7. Enter a meaningful name for your database.

  8. Click Continue.

  9. A list of existing templates will be displayed.

  10. Click Skip this step or select the Blank Template from the template list.

  11. Do required modifications (adding, editing, or modifying fields) to the database fields.

  12. Add a new field/column.

    1. To add a new field, click on the Add New Field button.

    2. Type a suitable name for the Field added.

    3. After you have entered a meaningful name, its data type will be automatically picked.

    4. Select a different data type if necessary.

    5. Add more fields as required.

  13. Edit a field.

    1. Pick the field you want to edit and modify the field name.

  14. Delete a field.

    1. Pick the field you wish to delete from the list of fields.

    2. Click the Delete icon respective to the field.

  15. Click Go to next Step.

  16. Once you have designed the structure of your database, click Create New Database.

The below screen will be displayed after creating a new database.

Building a Database using an Existing Template

This section explains how you can select an existing template to build your database.

Upon choosing a template, you will see its pre-designed collection of fields and types. You have the flexibility to fine-tune the structure as required by either adding, editing, or modifying fields as necessary.

Let's build our database using an existing template.

  1. On the app homepage, go to the My Work tab on the left sidebar.

  2. All the folders you have created, as well as those created by others, will be listed.

  3. If you cannot locate the folder in the list, type in the folder name under Search Folders.

  4. Click on the folder you wish to open.

  5. Go to Databases tab.

  6. Click + button and pick Create Manually option.

  7. Enter a meaningful name for your database.

  8. Click Continue.

  9. A list of existing templates will be displayed.

  10. Select a suitable template from the list.

  11. Based on the selected template, its fields and types will be displayed.

  12. Do required modifications (adding, editing, or modifying fields) to the database fields.

  13. Add a new field/column.

    1. To add a new field, click on the Add New Field button.

    2. Type a suitable name for the Field added.

    3. After you have entered a meaningful name, its data type will be automatically picked.

    4. Select a different data type if necessary.

    5. Add more fields as required.

  14. Edit a field.

    1. Pick the field you want to edit and modify the field name.

  15. Delete a field.

    1. Pick the field you wish to delete from the list of fields.

    2. Click the Delete icon respective to the field.

  16. Change the Template selected.

    1. To change the template you have already selected, click Change Template.

    2. This action will redirect you to the template list screen for you to select a different one.

  17. Click Go to next Step.

  18. Once you have completed designing the database, click Create New Database.

Previewing Your Database

Once you've established your database, you can preview its contents by navigating to the Databases tab within the corresponding folder.

  1. On the app homepage, go to the My Work tab on the left sidebar.

  2. All the folders you have created, as well as those created by others, will be listed.

  3. If you cannot locate the folder in the list, type in the folder name under Search Folders.

  4. Click on the folder you wish to open.

  5. Go to Databases tab.

  6. Search and select your database.

  7. Click on the database to view it.

Initially, a manually created database is a empty database with no data.

Watch this video on how to create a database manually to gain a better understanding.

PreviousCreating and Editing DatabasesNextCreating a Database by Importing Data from an External Source

Last updated 7 months ago

Starting from Scratch screen 1
Starting from Scratch screen 2
'Your database has been created' screen
Selecting a Template
Selected Template's Fields and their Types