(function () { var overrideCtx = {}; overrideCtx.Templates = {}; overrideCtx.Templates.Fields = { 'MyCalcField': {'View': renderField} }; SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx); })(); function renderField(ctx) { return STSHtmlDecode(ctx.CurrentItem[ctx.CurrentFieldSchema.Name]); }