How to store HTML code in string field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2018 07:36 AM
Hi Team,
Work notes in incidents is updated through transform maps. And data comes in form of HTML. Work notes being journal field, it updates properly.
But this data is again sent to client system to store in string field.
But it is stored with HTML tags,
How to remove HTML tags and store in string field but with correct spaces(For example if table is present as a part of html, then it should format with proper spaces but remove tags and then store in string field)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2018 07:40 AM
Check the link below, should help
https://community.servicenow.com/community?id=community_question&sys_id=5f124fe9db98dbc01dcaf3231f961944&view_source=searchResult
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2018 01:16 AM
Hi Anurag,
This is removing tags but not formatting data in proper way.
For example I want to show as below
But there are no proper spaces