Support for Drafted Content when Previewing pages
N
Nick
Hey team!
This one shouldn't be too much of a surprise coming from me :)
One of the biggest limitations we have while building DXP components is the inability for editors to preview selected assets which are either unpublished or other non-live statuses. The component doesn't load in some cases.
We understand the architecture of the why: a Content API only given read access to assets cannot see something unless it's live, but would love to see support for CMS editors.
Editors should have visibility over draft content while working within DXP pages, whereas public visitors should continue to receive only published content. This distinction should ideally be handled by the platform rather than requiring custom workarounds.
A recent example: a team member was working on 2 new pages and attempted to link the two in a component (via the SquizLink) and it caused the component to break. The only workaround was to publish the target page first, which defeats the purpose of having draft and preview workflows. I think this a pretty reasonable thing a content editor should be able to do.
The same occurs for SquizImage and other cases of matrix-asset-uri assets loaded via info.fns.resolveUri().
A solution which allows DXP to automatically switch to a WRITE permitted Content API during editing and preview sessions would be really appreciated. All I'd suggest here is allowing user-based logic for switching the Content APIs.
I'm so passionate about this I've even made a mokup of the suggestion!
Photo Viewer
View photos in a modal
R
Rebecca Larson
Really need this feature. Thanks.