<?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 Re: GraphQL results on website module in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/GraphQL-results-on-website-module/m-p/1229435#M44639</link>
    <description>&lt;P data-start="0" data-end="569"&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/984767"&gt;@_Louis_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;I’ve run into this a few times, and the behavior you’re describing almost always comes down to scope or context rather than the query itself.&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;The GraphiQL console runs in the account’s full context, but a module only returns results if the query is defined inside that module and exposed through the data_query tag in the module HTML. If the tag isn’t present, or if the query name doesn’t match exactly, the module simply renders nothing even though the query works in isolation&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;(&lt;A href="https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/data-fetching" target="_blank"&gt;https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/data-fetching&lt;/A&gt; )&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="571" data-end="937"&gt;Another thing to double-check is where the module sits. Queries only execute in “page” or “template” contexts, not in global partials or header/footer includes. If the module is nested inside something that prevents a data fetch, it will silently fail.&lt;/P&gt;
&lt;P data-start="571" data-end="937"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="571" data-end="937"&gt;You can confirm this quickly by dropping the module directly onto a blank test page and seeing if results appear. If your listing page also needs to reflect data changes from an external system, Stacksync keeps those objects aligned in real time so your GraphQL module always pulls up-to-date values.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Nov 2025 17:26:40 GMT</pubDate>
    <dc:creator>RubenBurdin</dc:creator>
    <dc:date>2025-11-28T17:26:40Z</dc:date>
    <item>
      <title>GraphQL results on website module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/GraphQL-results-on-website-module/m-p/1229299#M44634</link>
      <description>&lt;P&gt;I'm following the instructions here&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/graphql/use-graphql-data-in-your-website-pages#bind-a-data-query-to-a-module" target="_blank" rel="noopener"&gt;Use data from a GraphQL query in your website pages - HubSpot docs&lt;/A&gt;&amp;nbsp;attempting to create a listing page that runs off data in a graphQL query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I cannot get the module to display any results.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Louis__1-1764316545453.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/162680iD0106DBC3F41C95D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_Louis__1-1764316545453.png" alt="_Louis__1-1764316545453.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Louis__0-1764316506610.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/162679iB772F0C1450AEF5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_Louis__0-1764316506610.png" alt="_Louis__0-1764316506610.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I test the query in GraphiQL it works as expected, returning results.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Louis__0-1764316805474.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/162681iFF47EA47DCC56714/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_Louis__0-1764316805474.png" alt="_Louis__0-1764316805474.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 08:00:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/GraphQL-results-on-website-module/m-p/1229299#M44634</guid>
      <dc:creator>_Louis_</dc:creator>
      <dc:date>2025-11-28T08:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: GraphQL results on website module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/GraphQL-results-on-website-module/m-p/1229377#M44635</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/984767"&gt;@_Louis_&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; and Happy Friday!&lt;BR /&gt;&lt;BR /&gt;Thanks for reaching out to the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;I'd like to share some resources that might help:&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/graphql/query-hubspot-data-using-graphql" target="_blank"&gt;Query HubSpot data using GraphQL&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/graphql/build-a-recruiting-agency-using-graphql" target="_blank"&gt;Build a recruiting agency website using GraphQL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now, let's consult our Top Experts: Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/321717"&gt;@MichaelMa&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/537570"&gt;@RubenBurdin&lt;/a&gt;&lt;/SPAN&gt; do you have suggestions to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/984767"&gt;@_Louis_&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a wonderful weekend and thanks so much!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 13:33:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/GraphQL-results-on-website-module/m-p/1229377#M44635</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-28T13:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: GraphQL results on website module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/GraphQL-results-on-website-module/m-p/1229435#M44639</link>
      <description>&lt;P data-start="0" data-end="569"&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/984767"&gt;@_Louis_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;I’ve run into this a few times, and the behavior you’re describing almost always comes down to scope or context rather than the query itself.&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;The GraphiQL console runs in the account’s full context, but a module only returns results if the query is defined inside that module and exposed through the data_query tag in the module HTML. If the tag isn’t present, or if the query name doesn’t match exactly, the module simply renders nothing even though the query works in isolation&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;(&lt;A href="https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/data-fetching" target="_blank"&gt;https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/data-fetching&lt;/A&gt; )&lt;/P&gt;
&lt;P data-start="0" data-end="569"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="571" data-end="937"&gt;Another thing to double-check is where the module sits. Queries only execute in “page” or “template” contexts, not in global partials or header/footer includes. If the module is nested inside something that prevents a data fetch, it will silently fail.&lt;/P&gt;
&lt;P data-start="571" data-end="937"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="571" data-end="937"&gt;You can confirm this quickly by dropping the module directly onto a blank test page and seeing if results appear. If your listing page also needs to reflect data changes from an external system, Stacksync keeps those objects aligned in real time so your GraphQL module always pulls up-to-date values.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 17:26:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/GraphQL-results-on-website-module/m-p/1229435#M44639</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-11-28T17:26:40Z</dc:date>
    </item>
  </channel>
</rss>

