Importing formatted data into HTML field from Excel import
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 08:25 PM
Hi Team,
I am trying to import data from excel to policy table. We have data for policy text as formatted data , example there are multiple bullet points and paragraphs. When this is imported to servicenow everything is clubbed. Can anyone let me know how can i import it in same format as Excel.
Any help is much appreciated!!
Thanks,
Megha
- Labels:
-
Policy and Compliance Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 09:31 PM
Hi,
What is the target field type and how is the field mapped?
Regards
ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 10:03 PM
Hello
Thanks for repsponding..
Target field type is HTML which is policy text on grc policies table and in import set also i tried having field type as string and HTML both, no luck.
Thanks,
Megha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 02:48 AM
@Ankur Bawiskar @Meghashree1 :
Hi Megha and Ankur ,
i wanted to check how did you do it , and import policy text as well from excel tempalate, and performed this activity of uploading policy documents in the system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 07:07 AM
Hi @ANKITA_CHARAYA ,
I have achieved it with GlideStringUtil.newLinesToBreaks(sourcevalue) for formatting.
Thank you.
Meghashree