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
  1. My Work (Folders)
  2. User Interfaces
  3. Selecting a Widget Template

Item List Widget Template

PreviousSelecting a Widget TemplateNextViewing Your User Interfaces

Last updated 5 months ago

The 'Item List' widget template allows you to design a user interface to display a list of items efficiently. It supports handling a large number of items by incrementally loading them as you scroll. Each item can include a title, subtitle, status.

This article explains designing a user interface with the Item List widget template.

Note: Before you go ahead, ensure you have a basic understanding of creating and in Lucy.

Designing a User Interface with the Item List Widget Template

Here are step-by-step instructions for designing a user interface using the Item List widget Template.

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

  2. A list of existing folders will appear. To open a folder, choose the one you need and click on it.

  3. Click on the User Interfaces tab and click the Plus icon.

  4. Select the Start from Scratch option.

  5. A list of pre-built widget templates will display.

  6. Click on the Item List template and click Edit this Template to start customising the template.

  7. Enter a name and a description.

    1. Click the General tab on the right.

    2. In the Name field, type in a unique descriptive name.

    3. In the Description field, enter a brief description.

  8. Select and bind a data source to the widget.

    1. Click on the 'Data source is required' notification panel appearing at the bottom.

    2. Click the Bind a source button on the right.

    3. You can either select an existing Lucy action or a database as the data source.

    4. To select a database.

      1. Go to the Databases tab. Search and click on the desired database.

      2. Click Select this Source and you will see a preview of your data.

      3. Filter Data: To filter data based on the conditions set.

      4. Aggregate Data: Used to summarise data to reveal meaningful patterns and trends, such as calculating the sum, count, average, minimum, and maximum.

      5. Use the Filter data and Aggregate data options as necessary to prepare your data.

      6. Once you are satisfied with the final outcome, click Looks Good.

  9. Set parameters to the widget.

    1. Click the 'Fields are required' notification panel that displays. Then, you'll be redirected to the Item List section on the properties panel on the right.

    2. Map fields to the corresponding columns/values in the selected database.

      1. Profile Image: If you have a profile image in the database, click the Profile Image field and select the required value from the pop-up list.

      2. Profile Name: If you don't have a profile image in the database, the default value will be used.

      3. Title: Click the Title field and choose the required value from the pop-up list.

      4. Subtitle: Click the Subtitle field and choose the required value from the pop-up list.

      5. Date: Click the Date field and choose the required value from the pop-up list.

      6. Status Field: Click the Status field and choose the required value from the pop-up list.

  10. Represent different Statuses using colours in the widget.

    1. Go to Status section on the properties panel.

    2. Add a new status and map a colour.

      1. Click the plus icon. Then, a new status will appear in the status list.

      2. Rename the status (e.g., New) and select a colour.

    3. Rename and customise the rest of the statuses as necessary.

  11. Add a Title to the widget.

    1. Click the title section of the widget and the properties panel will open on the right.

    2. Go to the Title section.

    3. In the text field, type in a appropriate title.

  12. Customise the widget as necessary, e.g., changing colours, font size, adding buttons etc.

  13. Click the Preview button at the top to view your design.

  14. Once you are satisfied with the customisation, click Save Widget.

This will open the selected template on the

widget designer page.
folders
databases
Item List Widget Template
Item List widget opened on the widget designer page
Selecting a data source
Mapping fields to values/ database columns
Widget in 'Preview' Mode