Change the Description Field type from String to HTML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 11:42 PM
Change the Description Field type from String to HTML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 11:46 PM
Hello @Adithya Khurana ,
Can you elaborate on your question? so that any one can try to help you.
Thank you
G Ramana Murthy
ServiceNow Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2024 12:36 AM - edited 10-04-2024 12:38 AM
You can open dictionary of 'Description' field and change the type as 'html'. PFB SS.
However, if you are trying to do this for any table(for example incident or any custom table), which is extended from any table (for example task table) and if description comes from parent table only, then you can't change the field type of description even by overriding dictionary. There is no way.
It is recommended that you can create a new field with label 'Description' (name, for example, u_description) with your desired field type and make the original 'Description' field hidden.
There is another challenge you may face that if have a newly created custom field 'Description' (name, for example, u_description) already have some data already in it then you may not be able to change the 'field type' since it will result in loss of data stored in that custom 'Description' (name, for example, u_description) field.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2024 12:36 AM
Hi Adithya,
To change the filed type from String to HTML,
Make sure the table should not have data or any records. If it has then system wont allow you to change the filed type and also make sure you are not changing in Extends table, I mean like Task table. Because it will impact the other extended tables as well.
Regards,
Ramesh