Dealing with user-generated content using an Item Web API

Sometimes, we have a requirement to implement user-generated content (UGC) creation, that is, comments or feedback to products, events, and so on, on a live site and yet it might require a proper workflow set up with comment moderation before making the content live.

The best approach would be to store this content in the master database so that reviewers can moderate it and make it live by publishing. It also needs a security-hardened architecture as the master database cannot be accessed directly from content delivery servers. In this recipe, you will learn how to create UGC along with the workflow or autopublish feature using the Sitecore Item Web API framework.

Getting Ready

This recipe ...

Get Sitecore Cookbook for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.