You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

HTML Not Rendering in Message Content

Hi,

I have added a new section (Internal Notes) on the SR Edit page, but the Message Content column is showing HTML tags. How can I render the HTML instead of displaying the tags as plain text?

Template Code

<template id="internalNote">
<div class="oj-table-scroller">
<div class="full-view-lazy-load oj-fa-service-fullviewDL-Foldout">
<div class="oj-fa-service-header-div-style-foldout">
<div class="oj-fa-service-header-child-div-style">
<h2 id="InternalNotes" class="oj-fa-service-headerTD" tabindex="0">Internal Notes</h2>
</div>
</div>
<hr class="oj-fa-service-hr-margin">
<oj-table scroll-policy="loadAll" class="oj-md-12 oj-table-data-cell-padding" horizontal-grid-visible="enabled"
edit-mode="rowEdit" data="[[$variables.messagesListSDP]]"
columns='[{"headerText":"Posted By","field":"PartyName","sortable":"enabled"},{"headerText":"Message Content","field":"MessageContent","sortable":"enabled","template":"cellTemplate"},{"headerText":"Time Spent (In Mins)","field":"TimeSpent_c","sortable":"enabled"},{"headerText":"Creation Date","field":"CreationDate"}]'>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!