Skip to content
MSAMM
Back to the knowledge baseVBCS

A VBCS page loads but shows no data after deployment

A Visual Builder page works in the Designer and renders empty once deployed, with no visible error.

Most likely causes

  • The service connection is authenticated as the developer, not the runtime user. A connection set to use the current user's credentials behaves differently in Designer than in a deployed app, where there is no signed-in designer.
  • The deployed app has no role granted to the people using it. An app can deploy successfully and still return nothing to a user who holds no role that permits the underlying REST call.
  • The REST endpoint is reachable from the Designer but not from the deployed origin. Different origins, different CORS treatment.
  • A query parameter is populated from a page variable that is empty at runtime. The Designer often has a value left over from testing; a fresh session does not.

What to check

  • The browser's network tab on the deployed page: whether the REST call is made at all, and what it returns. An empty 200 and a 401 are different problems.
  • Whether the same endpoint returns rows when called directly with the runtime user's credentials.
  • The authentication mechanism configured on the service connection, and whether it depends on a signed-in user.
  • Whether the page variable feeding the query has a default, and what it holds on first load.

If none of the above explains it, raise a ticket and include what you checked. Reading this article cost you no hours.

Still stuck? Raising a ticket costs no hours until you accept a consultant's proposal.

Raise a support ticket