Skip to main content

Enhanced CMS has the ability to preview content. However, most of us build custom LWCs using the experience/cmsDeliveryApi getContent module and that only retrieves published content. The LWC I have uses a string property that has the contentKey passed in using a data binding expression {!Item.contentKey}. How should a LWC be built to support content authors to preview content from a CMS workspace while also supporting efficient LWC development? Is there a REST API method that would allow this? 

cc: @David Green @George Abboud @Geno Mathew @* Experience Cloud *

5 answers
0/9000