# widget\_data appears blank on live page

**URL:** <https://community.hubspot.com/t/widget-data-appears-blank-on-live-page/106005>\
**Category:** CMS Development\
**Created:** [April 29, 2024, 1:35pm UTC](https://community.hubspot.com/t/widget-data-appears-blank-on-live-page/106005 "2024-04-29T13:35:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt\_scott](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matt_scott/32/36038_2.png) [@matt\_scott](https://community.hubspot.com/u/matt_scott)\
**Post date:** [April 29, 2024, 1:35pm UTC](https://community.hubspot.com/t/widget-data-appears-blank-on-live-page/106005/1 "2024-04-29T13:35:02Z")

</div>

I have an issue where the widget\_data variable is blank only on the live page  
{% module “productsData” path=“/Products Data”, label=“Products Data” export\_to\_template\_context=True %}  
{{ widget\_data.productsData|pprint }}  
returns nothing  
Following this guide

> **[export\_to\_template\_context - HubSpot docs](https://developers.hubspot.com/docs/cms/reference/modules/export-to-template-context)**
>
> Export\_to\_template\_context is a parameter that makes a module's parameters available to the template environment without actually rendering the module. This parameter can be used all HubL module tags. The widget\_data tag is used to retrieve these...

It works correctly on other pages.  
It also works correctly if I add hsDebug=true or hsCacheBuster to the url, it doesn’t work if I add any other parameter.  
It is not a cache issue as this page has been live a long time and I can see other updates happening.  
Only other thing to note this page is a dynamic page and it doesn’t work on the listing or any inner pages  
Hubspot Support told me to post it here  
Thanks  
Matt

---

<div class="post-metadata">

**Author:** ![matt\_scott](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matt_scott/32/36038_2.png) [@matt\_scott](https://community.hubspot.com/u/matt_scott)\
**Post date:** [April 29, 2024, 3:04pm UTC](https://community.hubspot.com/t/widget-data-appears-blank-on-live-page/106005/2 "2024-04-29T15:04:32Z")

</div>

Delving deeper if I remove the If statement here the data gets passed through however I need the if statement as I have a seprate dnd area for the inner pages. (All the modules in the dnd area do correctly show, it just seems to not allow the export to template context data to be passed through)

```lia-code-sample
{% if !dynamic_page_hubdb_row %}
		{% dnd_area 'body-area' label='Body Area', class='products-page' %}
			{% dnd_section full_width="true" %}
				{% dnd_column padding={"top":0,"left":0,"right":0,"bottom":0} width=12 %}
				{% end_dnd_column %}
			{% end_dnd_section %}
		{% end_dnd_area %}
	{% endif %}

```

As I said before it is this exact same snippet that works correctly if the page is not dynamic at all. So I would assume it should work.  
Any help much appreciated!

---

<div class="post-metadata">

**Author:** ![matt\_scott](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matt_scott/32/36038_2.png) [@matt\_scott](https://community.hubspot.com/u/matt_scott)\
**Post date:** [May 1, 2024, 11:12am UTC](https://community.hubspot.com/t/widget-data-appears-blank-on-live-page/106005/3 "2024-05-01T11:12:53Z")

</div>

further to this content.widgets doesn’t seem to contain any modules and also container\_widgets is blank  
(though if you look at the developer info they shouldn’t be)  
There’s definitely quite a lot of wierd behaviour going on around this
