CMS Development

Hubmate
Contributor

HubDB - Show all Tables

Hi guys.

 

Is there a way to display multiple HubDB tables in one 'for loop'? I'm currently working with one HubDB table, like so:

 

{% set table = hubdb_table_rows(844322) %}

{% for row in table %}
{# table content #}
{% endfor %}

 

I would like to define all of the available tables in the {% set table %} variable without having to define the tableID's.

 

Hope this makes sense. Anyone know if it's possible? Thanks as always! 🙂

 

Steve

0 Upvotes
1 Reply 1
roisinkirby
HubSpot Product Team
HubSpot Product Team

HubDB - Show all Tables

Hey @Hubmate can you please share a link to the page you are working on? @dessery do you know if this is possible?

0 Upvotes