Need to hide HTML tags in group approval table notes field data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Im updating notes in group approval record it displays with html tags , I want to remove HTML tags in the list view in workspace.
- Labels:
-
splays
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi @Deepu9997 ,
The HTML tags are appearing because the Notes field contains HTML content and the Workspace list is rendering the raw value instead of displaying plain text.
A few approaches to resolve this:
Store plain text instead of HTML when updating the Notes field:
notes = GlideStringUtil.unEscapeHTML(notes); notes = notes.replace(/<[^>]*>/g, ''); current.notes = notes;
Create a Display/Calculated field that strips HTML tags and use that field in the Workspace list instead of the original Notes field.
If this is a Workspace configurable list, check whether the column supports HTML sanitization/plain text rendering and configure the field to display only text.
The recommended approach is to create a separate display field that removes HTML tags using server-side logic and use that field in the Workspace list, as it preserves the original rich-text content while showing clean text in list views.
Please mark as helpful if this answers your question.
Thanks,
Yogesh Bhatt