Canvas Documentation
Bubble Best Practices
v3.7
v3.7
  • Introduction
  • Key Features
  • What's New
  • For Designers
  • CANVAS FUNCTIONALITY
    • Getting Started
    • Branding & Design
    • Marketing Pages
    • Bubble Pages & Blocks
    • Roles & Permissions
    • Menus & Navigation
    • Data & Workflows
    • Emails & Alerts
    • Miscellaneous
      • Setting up two factor authentication
      • Cookie and consent banner
      • Setting your password policy
      • Set up Payment info on Account page
      • Loading screen
      • Configuring multiple languages
      • Customizing your app's portal page colors
    • Reference
      • Pages
        • Index
        • Admin Portal
        • Account
        • Login
        • Legal
        • Reset Password
        • 404
      • Reusable elements
        • Header
        • Footer
        • Signup & Login
        • Cookies Permission
        • Widgets
          • App security
          • Header Widgets
          • Workflow Widgets
        • Admin Portal
          • Admin analytics
          • Admin email & templates
          • Admin header & footer
          • Admin legal popups
          • Admin branding, launch, and settings
          • Admin marketing pages
          • Admin portal canvas logic
          • Admin options settings
        • Menu Focus Elements
      • Data types
      • Option Sets
      • Backend Workflows
      • Design standards
        • Manually Building UI
  • Bubble Best Practices
    • Learning Bubble Basics
    • Principles
    • Database
    • Design
    • Security
    • SEO
    • Speed
    • Modularity
      • Data triggers
  • Canvas library
    • Page templates
      • Free Bubble Marketing Page
      • Premium Bubble Marketing Page
      • Centered Profile Page
      • Left-Justified Profile Page
      • Standard page
      • Toggle Tabs Page
      • Menu Page
      • Mobile Menu Page
      • Video List Page
      • Standard Portal / Dashboard Page
      • Simple Portal / Dashboard Page with Icons
      • Double Sidebar Portal Page Template
      • Search Page
      • Map Search Page with Toggle and Filters
      • Floating Map Search Page
      • Search Bar Page
      • Multi-Step Page With Progress Bar
      • Standard Multi-Step Process Page
      • Multi-Step Process Page with Sidebar
      • Gallery Profile or Product Page
      • Sidebar Profile Page
      • 2-Column Menu Tabs Page
      • 2-Column Checkout Page
      • 2-Column Video Chat Page
      • Vertical Multi-Step Page Template
    • Blocks
      • Monthly Calendar Scheduling Widget
      • No Reply Comments Thread
      • Nested Comments Thread (with Like and Reply)
      • Placeholder Group
      • List with Circular Progress Bar Repeating Group
      • Top Input Chat Widget
      • Bottom Input Chat Widget
      • Toggle Tabs Group
      • Single-Select or Multi-Select Pill Tabs Group
      • Settings group
      • To-Do List Repeating Group
      • Title Group with Button and Filters
      • Product Details Group With Progress Bar
      • Listing details with Icons and Menu Focus Group
      • Week Daily Availability Group
      • Frequently Asked Questions (FAQ) Repeating Group
      • Dismissible Module
      • Video Group
      • About Group
      • Add to Cart Group
      • Full Width Map with Directions Link
      • Location Module (Map and Directions)
      • Drag and Drop Repeating Group
    • Popups
      • Confirmation Popup
      • Message Popup
      • Image Popup
      • Video Popup
      • Vertical Scroll Popup
      • Edit Popup
      • Standard Form Popup
      • Subscribe Popup
      • Feedback / Contact Popup
      • Details Popup
      • Add List Popup
      • Advanced Form Popup
      • Rating Popup
      • Toggle Tabs Popup
      • Share Popup
      • Multi-Step Popup
      • Invoice Popup
      • Stripe Credit Card Purchase Popup
      • View Profile Popup
      • Send Message Popup
      • Multi-Select Pill Tabs Popup
      • Pricing Plans Popup
Powered by GitBook
On this page
  • ⚙️ App Settings
  • App Variables
  • User
  • ⚙️ Dummy
  • ⚙️ Palette color
  • ⚙️ Email Template
  • ⚙️ Email Template Variant
  • ⚙️ Header
  • ⚙️ Marketing Page
  • ⚙️ Navigation Item
  • ⚙️ Verify

Was this helpful?

  1. CANVAS FUNCTIONALITY
  2. Reference

Data types

PreviousMenu Focus ElementsNextOption Sets

Last updated 3 years ago

Was this helpful?

All objects and some selected fields in the template are explained below. Please refer to our document for guidance on how the Bubble database should be structured.

All data types and a few select fields are explained below. A good general rule to follow is that you shouldn't delete any fields that are included with the template and instead only add new ones.

⚙️ App Settings

This data type includes fields for all app-wide settings. Most of the data fields are controlled by the App admin from the Admin portal. There should only be a single object of this data type.

Field name

Type

Description

Ask for cookies?

yes / no

App Owner can control whether or not to ask users to accept cookies (if yes, a cookies banner will show on the homepage)

Email

text

Contact / support email that all emails in the application come from. Whenever a new email action is created in the application, it should refer to this field instead of being hardcoded

Email verification required?

yes / no

App owner can control whether or not to require users to verify their emails during the sign up process (if yes, users will receive an email that contains a verification link and they will need to click the link to verify their emails)

Name

text

Name of your app / website. This is the field that should be referenced anywhere where the name is used (instead of hardcoded).

App primary color

text

App and email template primary color

Usersnap off?

yes / no

This disables the Usersnap tool, which Airdev uses with its clients to submit feedback and bug reports.

App Variables

This data type is specifically for setting up custom app-wide variables for your project. Simply add fields as need and reference them from your pages by accessing the var - app variables

User

The user data type represents each person who has an account in your application.

Field name

Type

Description

Date agreed to terms and privacy docs

date

Date agreed to terms and privacy docs during sign up

Date signup completed

date

Date the user completed signup. This is populated upon sign up when the user signs up for an account by himself. If the user is invited to the app (e.g, app admin) then this is recorded when he first sets his password.

Inactive

yes / no

User is marked as inactive = yes when app admin deletes the user from the admin portal

Last login

date

Captures the last date that the user loaded any page in the app

Signup method

text

E.g., E-mail, LinkedIn, Facebook, Twitter, or etc.

⚙️ Dummy

This data type allows you to quickly preview your page layout by it as your data source. This is filler data for designers to create the UI.

These fields can be used to see what the UI of a page looks like with given types of data, which is helpful when you want to focus on the design and ignore the content. Building this way is also great when the designer isn't familiar with the data structures for a particular design.

Field name

Type

Description

Address

text

Sample address

Attachment

file

Sample pdf file

Background picture

image

Sample image

Cover photo

image

Another sample image

Email

text

Sample email

First

text

First name of a person

Last

text

Last name of a person

Long description

text

Paragraph-length text

Number of likes

number

Number larger than 0

Number of stars

number

Number between 1 and 5

Order

number

Integer used to order how these Dummy objects are displayed

Phone number

number

Number with 10 digits

Price

number

Integer used for testing price displays

Profile picture

image

Image of a person (or dog)

Regular picture

image

Another image

Short description

text

A sentence-length text

Title

text

1-3 word text

⚙️ Palette color

This data type is color palette list is referenced in the Air Color Picker plugin / element. Feel free to add more color entries for quick access when using the Air Color Picker element.

We use this data type for push notifications when we turn your app into a native mobile iOS or Android app.

⚙️ Email Template

Email templates are managed from the admin portal and act as the main parent to manage email content for different scenarios

⚙️ Email Template Variant

The email template variant holds the email content for its parent Email template. When using multiple languages an email template will have multiple variants... one for each language.

Field name

Type

Description

Email template

⚙️ Email Template

Parent email template

Is active?

yes/no

Sample pdf fileimage

Language code

text

Language code for the language this variant represents

Language name

text

Display name of the variants language

Text body

text

Text to use as the body content for the email

Text button

text

Button text

Text signature

text

Text to include as the signature of the email

Text subject

text

Text to add to the subject line of the email

Used to verify a users email

⚙️ Header

We create one record for each header you create for your application

⚙️ Marketing Page

Contains all the html and metadata used to display a marketing page

⚙️ Navigation Item

Contains all the code and metadata for an item such as a link, button, icon, etc that has been created for a footer or header element

⚙️ Verify

Stores the code data when a user is going through the verification process for their email, sms, or two-factor authentication.

Bubble Best Practices