<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Betreff: HubDB - Listing rows on a dynamic page (Child Table) in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620334#M28434</link>
    <description>&lt;P&gt;I figure it out, I had to use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dynamic_page_hubdb_table_id&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dynamic_page_hubdb_row.hs_child_table_id&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Full code:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set queryparam = "&amp;amp;orderBy=order" %}
{% set rows = hubdb_table_rows(dynamic_page_hubdb_table_id) %}
{% for row in rows %}

&amp;lt;div&amp;gt;
&amp;lt;div class="faq-btn" data="img{{loop.index}}"&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a href="{{ request.path }}/{{ row.hs_path }}"&amp;gt;{{ row.question }}&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;img class="plus" src="https://cdn2.hubspot.net/hubfs/4351639/2019/assets-may-2019/plus-bold.svg" alt="plus symbol"&amp;gt;
&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;

{% endfor %}&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 22 Apr 2022 09:38:10 GMT</pubDate>
    <dc:creator>pm8rsh88</dc:creator>
    <dc:date>2022-04-22T09:38:10Z</dc:date>
    <item>
      <title>HubDB - Listing rows on a dynamic page (Child Table)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/619036#M28395</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;apologises if this is a dumb question, but I'm very tired and have been working on a new FAQ section all day, and I think I'm burnt out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Set up:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have a Parent HudDB, that connects to Child DB's. My FAQ section has 3 dynamic pages:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Page 1&lt;/STRONG&gt; - Main Page that lists different categories (Parent DB)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Page 2&lt;/STRONG&gt; - A page that lists the Frequently asked Questions (Child DB)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Page 3&lt;/STRONG&gt; - A page that has the Answer to the Questions.&amp;nbsp; (Child DB)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What I want to achieve is on Page 3, the Answers page. I want the page to include a list of Questions from the Child DB. I can get this list working on Page 2 using the following code, but for some reason, this code doesn't want to work on Page 3. Any advice on how to do this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set queryparam = "&amp;amp;orderBy=order" %}
{% set rows = hubdb_table_rows(dynamic_page_hubdb_row.hs_child_table_id) %}
{% for row in rows %}

&amp;lt;div&amp;gt;
&amp;lt;div class="faq-btn" data="img{{loop.index}}"&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a href="{{ request.path }}/{{ row.hs_path }}"&amp;gt;{{ row.question }}&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;img class="plus" src="https://cdn2.hubspot.net/hubfs/4351639/2019/assets-may-2019/plus-bold.svg" alt="plus symbol"&amp;gt;
&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;

{% endfor %}&lt;/LI-CODE&gt;&lt;P&gt;The example page is below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.cfglaw.co.uk/faq-categories-test/cica/what-is-the-criminal-injuries-compensation-authority-cica" target="_blank" rel="noopener"&gt;Example Page&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 20 Apr 2022 16:17:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/619036#M28395</guid>
      <dc:creator>pm8rsh88</dc:creator>
      <dc:date>2022-04-20T16:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB - Listing rows on a dynamic page (Child Table)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/619675#M28411</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90514"&gt;@pm8rsh88&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check your page-2 and page-3 specifications, both should be the same.&lt;/P&gt;
&lt;P&gt;If they are same then please let me know what error you are getting on implementing the code for page-3.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 12:21:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/619675#M28411</guid>
      <dc:creator>himanshurauthan</dc:creator>
      <dc:date>2022-04-21T12:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB - Listing rows on a dynamic page (Child Table)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/619754#M28414</link>
      <description>&lt;P&gt;Hi, sorry, what do you mean by&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20405"&gt;@himanshurauthan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90514"&gt;@pm8rsh88&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check your page-2 and page-3 specifications, both should be the same.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:07:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/619754#M28414</guid>
      <dc:creator>pm8rsh88</dc:creator>
      <dc:date>2022-04-21T14:07:34Z</dc:date>
    </item>
    <item>
      <title>Betreff: HubDB - Listing rows on a dynamic page (Child Table)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620290#M28430</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is this value filled on page2/3&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;dynamic_page_hubdb_row.hs_child_table_id&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;because i think on page 2 u dont have connect to parent first table request&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 07:42:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620290#M28430</guid>
      <dc:creator>SJaeger</dc:creator>
      <dc:date>2022-04-22T07:42:05Z</dc:date>
    </item>
    <item>
      <title>Betreff: HubDB - Listing rows on a dynamic page (Child Table)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620314#M28432</link>
      <description>&lt;P&gt;On page 2, it's&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set rows = hubdb_table_rows(dynamic_page_hubdb_row.hs_child_table_id) %}&lt;/LI-CODE&gt;&lt;P&gt;And that works, and I'm using the same code on Page 3, as it is, and it no longer works. I assume because when I'm on page 3, it can only check what's in a single row, rather than the entire DB?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The child database has 2 columns:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Question&lt;/LI&gt;&lt;LI&gt;Answer&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Page 3 I have displaying a single Question, with the corresponding answer. What I also need is a list of the other Questions in that child database.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 08:40:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620314#M28432</guid>
      <dc:creator>pm8rsh88</dc:creator>
      <dc:date>2022-04-22T08:40:08Z</dc:date>
    </item>
    <item>
      <title>Betreff: HubDB - Listing rows on a dynamic page (Child Table)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620319#M28433</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I rather think that he loses his reference to "page2" iwo do you pass parameters in the url? would it be easier to work with url parameters so that you are permanently saved and can also share the links?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 08:55:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620319#M28433</guid>
      <dc:creator>SJaeger</dc:creator>
      <dc:date>2022-04-22T08:55:31Z</dc:date>
    </item>
    <item>
      <title>Betreff: HubDB - Listing rows on a dynamic page (Child Table)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620334#M28434</link>
      <description>&lt;P&gt;I figure it out, I had to use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dynamic_page_hubdb_table_id&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dynamic_page_hubdb_row.hs_child_table_id&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Full code:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set queryparam = "&amp;amp;orderBy=order" %}
{% set rows = hubdb_table_rows(dynamic_page_hubdb_table_id) %}
{% for row in rows %}

&amp;lt;div&amp;gt;
&amp;lt;div class="faq-btn" data="img{{loop.index}}"&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a href="{{ request.path }}/{{ row.hs_path }}"&amp;gt;{{ row.question }}&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;img class="plus" src="https://cdn2.hubspot.net/hubfs/4351639/2019/assets-may-2019/plus-bold.svg" alt="plus symbol"&amp;gt;
&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;

{% endfor %}&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 22 Apr 2022 09:38:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620334#M28434</guid>
      <dc:creator>pm8rsh88</dc:creator>
      <dc:date>2022-04-22T09:38:10Z</dc:date>
    </item>
    <item>
      <title>Betreff: HubDB - Listing rows on a dynamic page (Child Table)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620339#M28436</link>
      <description>&lt;OL&gt;
&lt;LI&gt;then mark als answered &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; so every one see your solution&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 22 Apr 2022 09:36:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620339#M28436</guid>
      <dc:creator>SJaeger</dc:creator>
      <dc:date>2022-04-22T09:36:26Z</dc:date>
    </item>
    <item>
      <title>Betreff: HubDB - Listing rows on a dynamic page (Child Table)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620340#M28437</link>
      <description>&lt;P&gt;Done. I also edited it to include the full example&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 09:38:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Listing-rows-on-a-dynamic-page-Child-Table/m-p/620340#M28437</guid>
      <dc:creator>pm8rsh88</dc:creator>
      <dc:date>2022-04-22T09:38:30Z</dc:date>
    </item>
  </channel>
</rss>

