Ongoing Problem with Preview Sites

I have an inconsistent problem with preview sites where a repeater connected to a database does not display correctly. So…when I send the link to my client they see the placeholder content instead of the database content—which is a problem.

Having said that, there have been times when it seems to have worked and I have no clue why most of the time it does not and occasionally it does. Any tips?

Here’s a link to a site I’m working on and you will notice under “Services” that the repeater does not display the content from the database.

By the way, this is what that section looks like in preview mode:

I’ve had similar issues with data loading failures, but inconsistently. When it happens,
I use this:
https://www.wix.com/corvid/reference/wix-window.html#viewMode

Just create some code snippet to check whether the data is loaded or not in preview mode.

  1. if (wixWindow.viewMode === ‘Preview’ ) {} else {}
    If it is, do nothing; if not, try fetching it again.

This is the response I received from Wix Tech support which doesn’t seem to jive since there have been times that the preview sites have correctly populated a repeater from the database. I’m increasingly confused.


Since the Get Feedback feature is only for input information and not the fully completed version site, some functionalities will not display as intended since the data is being retrieved from a database in your account. This is why using the Preview Mode directly from your account shows the relevant content. The element will display the information once the site is published.