As websites grow, manually creating hundreds of pages can become difficult to manage. HubSpot Content Hub provides dynamic page functionality using HubDB, which allows teams to generate multiple pages from a structured data table.
Instead of building each page individually, dynamic pages automatically pull information from a database-like table and generate pages based on that data.
Understanding how HubSpot Content Hub dynamic pages and HubDB work helps businesses scale content efficiently while maintaining consistent layouts.
HubDB is HubSpot’s built-in database tool that allows users to store structured data in table format.
A HubDB table contains:
For example, a table might contain information about:
HubDB acts as the data source for dynamic pages.
Dynamic pages are website pages that are automatically generated from HubDB table entries.
Instead of manually creating each page, HubSpot creates a page for each row in the HubDB table.
For example, if a table contains 100 entries, HubSpot can automatically generate 100 pages using a single template.
This makes dynamic pages extremely useful for large content directories.
Businesses commonly use HubSpot Content Hub dynamic pages for content structures such as:
These use cases often require similar page layouts with different data.
To create a HubDB table:
Each row represents a unique content entry that can be used to generate a dynamic page.
Dynamic pages are generated using a template that pulls data from the HubDB table.
Developers create templates using HubL to display data from the table.
For example, the template might include fields such as:
When a visitor opens a dynamic page, the template automatically displays the corresponding row data.
HubSpot Content Hub dynamic pages use HubDB tables as a structured data source to generate multiple pages automatically. By combining HubDB with templates and HubL, businesses can create scalable content directories without manually building each page.