CMS Development

LMann
Participant

HubDB content showing in preview, but not when published

SOLVE

Hello everyone.

I'm having an issue where all of a sudden my HubDB content has stopped pulling through to published pages, when I preview these pages in Hubspot, the content pulls through but then when I look at the live version, I just see 3 empty boxes and no code is pulling through. 

 

LMann_0-1664455822281.png

 

Does anyone have any ideas why this might be happening?

 

TIA! 

0 Upvotes
1 Accepted solution
Jnix284
Solution
Hall of Famer | Elite Partner
Hall of Famer | Elite Partner

HubDB content showing in preview, but not when published

SOLVE

@LMann Have you already tried clearing cache or adding the cache buster? Without seeing the page to inspect the code in the dev console, it could be anything.

 

just in case, add to end of URL to bust cache:

 

?hsCacheBuster=2626

 

if you use on the same page/device, change the numbers to a random string so it is unique

 


If my reply answered your question please mark it as a solution to make it easier for others to find.



Jennifer Nixon - Delivery Lead at Aptitude 8

connect with Jen on Linkedin

View solution in original post

4 Replies 4
Jnix284
Solution
Hall of Famer | Elite Partner
Hall of Famer | Elite Partner

HubDB content showing in preview, but not when published

SOLVE

@LMann Have you already tried clearing cache or adding the cache buster? Without seeing the page to inspect the code in the dev console, it could be anything.

 

just in case, add to end of URL to bust cache:

 

?hsCacheBuster=2626

 

if you use on the same page/device, change the numbers to a random string so it is unique

 


If my reply answered your question please mark it as a solution to make it easier for others to find.



Jennifer Nixon - Delivery Lead at Aptitude 8

connect with Jen on Linkedin

LMann
Participant

HubDB content showing in preview, but not when published

SOLVE

Hey,

So really weird but I left it a few hours and looked again and it was fixed. Veryyyy odd. But thanks for reaching out 🙂

 

Thanks,

Leonie

Jnix284
Hall of Famer | Elite Partner
Hall of Famer | Elite Partner

HubDB content showing in preview, but not when published

SOLVE

Hi Leonie,

 

I'm happy it's working properly!

 

Definitely server-side cache, I recommend keeping the URL string handy in case you run into this again. 🙂

 


If my reply answered your question please mark it as a solution to make it easier for others to find.



Jennifer Nixon - Delivery Lead at Aptitude 8

connect with Jen on Linkedin

Jaycee_Lewis
Community Manager
Community Manager

HubDB content showing in preview, but not when published

SOLVE

Hi, @LMann  👋 Thanks for reaching out! Hey, @LMeert @Jnix284, do you have any troubleshooting tips you can share with @LMann

 

Thank you for taking a look! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes