View Sitecore Text Replacement.md

This is an examle of how to add a processor to the renderField pipeline to replace content authored text with preconfigured text.

Example:

Content author inputs:

Copyright © Some Company

This gist will override the output:

View HttpService.cs
namespace Example
{
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Abstractions;
public class HttpService : IHttpService
View DuplicateItemNameValidatorWarning.cs
namespace NavArts.Insights.Pipelines.GetPageEditorNotifications
{
using System;
using System.Linq;
using global::Sitecore.ContentSearch.Fluent;
using global::Sitecore.ContentSearch.Utilities;
using global::Sitecore.Data;
using global::Sitecore.Data.Items;
using global::Sitecore.Diagnostics;
using global::Sitecore.Pipelines.GetPageEditorNotifications;
View CustomIndexField
namespace NavArts.Sitecore.Search.ComputedFields
{
using System;
using System.Linq;
using System.Xml;
using global::Sitecore.ContentSearch;
using global::Sitecore.ContentSearch.ComputedFields;
using global::Sitecore.Data;
using global::Sitecore.Data.Fields;
using global::Sitecore.Diagnostics;
View AddToLocation.cs
namespace NavArts.Sitecore.WebEdit
{
using System;
using System.Collections.Specialized;
using global::Sitecore;
using global::Sitecore.Configuration;
using global::Sitecore.Data;
using global::Sitecore.Data.Fields;
using global::Sitecore.Data.Items;
using global::Sitecore.Diagnostics;