A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Getting rendered block content when "preview" is disabled

Vote:
 

Hi,

We are rendering block content on a  page using the preview function in Epi.

this._xhrHandler.xhrGet({
url: this._model.contentData.editablePreviewUrl
})

If the preview is disabled on the CMS this returns empty data. How can we get the preview (adding a serverside call?) in a CMS with preview disabled?

Thanks,

Mikkel

#184447
Oct 27, 2017 10:54
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.