Skip to content
FREE WEBSITE EVALUATION: Immediately grade your website and get tips to improve.
x
Buzzy-chat
Ask AI Buzzy
close chat
fullscreen chat
Buzzy-chat

Buzzy AI Assistant

Human Chat
Buzzy-chat

I'm HIVE's AI assistant and I'm here to add a dash of nectar-sweet fun to your day! Whether you're navigating just for information or looking for a partner with your marketing needs, I'll be your guide on this whimsical journey. So let's make a beeline to adventure and turn your experience into the bee's knees! 🐝✨

Today
- AI: Hi there! I'm Buzzy!
- AI: How can I help you today?
Buzzy-chat
buzzin for answers
How would you like to interact with Buzzy?
Speak
Text
microphone ai
Speaking to Buzzy Sending message Buzzy is responding
** Buzzy might make mistakes occasionally. It's always a good idea to double-check important information with HIVE.
close chat
Let Buzzy ...
HubDB 101: Build and Display a HubDB Table

HubDB 101: Build and Display a HubDB Table


Erin Wiggers
July 27, 2022

Trying to decide which CMS is right for your website?

View CMS Comparison
Read Time:
Don't have time? Download Now as a PDF

So far in our HubDB series, we’ve covered that HubDB is a HubSpot tool that allows you to create tables to store data in rows, columns, and cells, much like a spreadsheet. You can customize a HubDB table's columns, rows, and other settings based on your needs. If you have any content that needs to be regularly updated, categorized, searched, or filtered on your website — such as team pages, events, resources, products, or services — you should strongly consider HubDB for your website.

If you’ve read along thus far, I’m going to assume you’re ready to start implementing HubDB on your website. So now, we’ll turn our attention to the specific setup procedures and considerations.

Getting Started With HubDB

  1. Create a table
  2. Build the columns
  3. Add your data
  4. Publish

Step 1: Navigate to HubDB & create a table

hubdb-101-build-and-display-a-hub-db-table-figure-1

To get to your HubDB dashboard, go to Marketing > Files and Templates > HubDB

hubdb-101-build-and-display-a-hub-db-table-figure-2

Give your table a label and code-friendly name.

Configure Your HubDB Table Settings

hubdb-101-build-and-display-a-hub-db-table-figure 3

Manage your HubDB table’s settings by clicking Actions > Manage Settings

hubdb-101-build-and-display-a-hub-db-table-figure-4

View of all settings available for HubDB tables

  • Allow public API access: When this option is toggled off, your table contents can only be viewed in the app or with authenticated APIs. When toggled on, your table can be queried by unauthenticated APIs.
  • Enable creation of dynamic pages using row data: With dynamic pages, HubDB allows you to create a page for every row in your table.
    • When this option is toggled on, you will then be able to select columns of your HubDB table that will serve as the source for your Meta Description, Featured Image, and Canonical URL.
  • If using dynamic pages, you can also choose to select Child Tables. We’ll talk more about child tables in an upcoming article about advanced HubDB implementation.

Step 2: Build out the columns

hubdb-101-build-and-display-a-hub-db-table-figure-5

Determine what information needs to be stored for each row and map that to the most appropriate column type.

HubDB Column Types

  • Text
  • Rich-text
  • URL
  • Image
  • Select
  • Multi-select
  • Date
  • Date & time
  • Currency
  • Number
  • Checkbox
  • Location
  • Foreign ID
  • Video

Learn more about the location and foreign ID columns from our post covering real-world use cases for HubDB.

Step 3: Add your data

hubdb-101-build-and-display-a-hub-db-table-figure-6

You can either add rows manually from the user interface or import the data from a CSV file.

How to Add Data to Your HubDB Table

  1. In the upper right, click Actions, then select Import.
  2. Click the Add or Replace tile:
    1. Add — will add rows from your spreadsheet to your existing data.
    2. Replace — will replace rows from your spreadsheet by overwriting and replacing any existing data in your table.
  3. Click Next, then Choose a file and then click Next again.
  4. Map each field from your CSV to the corresponding HubDB table column:
    1. Click the HubDB Table Column dropdown menu, then select a column from the table.
    2. If you haven't configured an associated column for the CSV field, click Add column, and in the dialog box, enter a label, name, and select a type.

hubdb-101-build-and-display-a-hub-db-table-figure-7

HubDB CSV Import Formatting Considerations

When importing an image into a HubDB table, add the image's URL to the CSV file. To set dimensions for the image, add the width and height to the end of the URL, offset by commas. For example: http://www.hubspot.com/sample-image.jpg,100,300. 

Imported dates must use MM/DD/YYYY formatting. For example, September 18th, 2022 would be 09/18/2022. 

Step 4: Publish your table

Hit Publish & confirm to update your data everywhere.

Use HubDB Data in a Custom Module

hubdb-101-build-and-display-a-hub-db-table-figure-8

HubDB table fields allow a content creator to designate a HubDB table source. This field type returns the table id, which you can use with the HubDB HubL functions.

HubDB row fields allow a content creator to select an individual row (or rows if using repeater fields) from a defined table. You can then use this field to create user-defined lists, tables, resources, and more.

Create Dynamic Pages with HubDB Data

Dynamic pages are CMS pages that get their content from a structured data source, such as HubDB or CRM objects. Based on how you configure your dynamic page template or modules, HubSpot will then use that data to automatically create and populate a set of pages. This includes a listing page that displays summaries of the data and individual pages for each data source entry (HubDB row or CRM object record).

Dynamic Templates

hubdb-101-build-and-display-a-hub-db-table-figure-9

Let’s briefly look behind the scenes at the code for our dynamic templates. If this part is too technical, let our developers set you up for success with a custom HubDB implementation for your website.

Testing Parameters

Fetching Rows

Dynamic Pages

hubdb-101-build-and-display-a-hub-db-table-figure-10

Now that we have a template created, we need to use it on a page. To create a dynamic page from your template:

  1. Select the template you created, then click the Actions dropdown menu & Create page.
  2. In the dialog box, select Website page and enter a page name, then click Create page.
  3. At the top of the page editor, click the Settings tab.
  4. Click Advanced Options to expand additional settings.
  5. Scroll down to the Dynamic pages section, then click the Data sources dropdown menu. Select the HubDB table you created.

Keep reading about HubDB

  • Feeling a little lost? Check out the first article in this series for a brief introduction to HubDB: The Most Powerful HubSpot Tool You're Probably Not Using Yet
  • Check out some Real Case Studies That Showcase the Power of HubDB in the second article in this series.
  • Stay tuned for access to the on-demand session of our July 27th Boulder HubSpot User Group, where our Web Ops Manager gave a killer presentation about getting started with HubDB and shared some dope examples of how it can be used.
  • Later in the series, get ready for some advanced concepts! You'll learn how to join two or more HubDB tables.
  • Want to have your mind blown? Currently in the works: building a dynamic template that uses 20+ tables to display nearly 100 pages. Seriously COOL stuff!

Custom HubDB Implementation

HubSpot HubDB

Latest Blog Posts

5 SEO Tips You Can Easily Implement Today
Apr 22, 2024

5 SEO Tips You Can Easily Implement Today

Desiree Landa
SEO

In the era of the internet, where countless websites compete for attention, SEO is your secret weapon for standing out in the crowd. It's the backstage magic that transforms your website from a wallflower into the belle of the ball, attracting both...

AI Marketing Strategies: Essential Dos and Don'ts
Apr 10, 2024

AI Marketing Strategies: Essential Dos and Don'ts

Evan Burns
Marketing Strategy

Artificial intelligence (AI) is turning digital marketing upside down, promising to totally remake how brands interact with customers. In today's world, AI's ability to improve customer experiences and streamline operations is unmatched. For any...

Is HubSpot worth it? Man thinking.
Mar 27, 2024

Is HubSpot Worth It? [Updated]

Jill Schneider
HubSpot

HubSpot is a comprehensive software platform for Marketing, Sales, Customer Service, Operations, and Content Management Systems. Each Hub comes with a plethora of tools and features you can start using right out of the box, which is why HubSpot...

HIVE Hexagon
HIVE Hexagon
HIVE Hexagon
HIVE Hexagon
HIVE Hexagon
HIVE Hexagon