previewPortalSite

Topics: Surfaces

Render one page of a site snapshot to HTML for authoring preview. Business-data access is denied while previewing.

Returns

String!

Arguments

Snapshot to render; it need not be published.

path

String!Required

Request path of the page to render, such as /.

Exact field SDL
"""
Render one page of a site snapshot to HTML for authoring preview. Business-data access is denied while previewing.
"""
previewPortalSite(
  """Snapshot to render; it need not be published."""
  versionId: PortalSiteVersionID!
  """Request path of the page to render, such as `/`."""
  path: String!
): String! @topic(names: ["surfaces"])

Declared on Query. Access is checked by the platform for each operation.