Change the Description Field type from String to HTML

Adithya Khurana
Tera Contributor

Change the Description Field type from String to HTML

3 REPLIES 3

RAMANA MURTHY G
Mega Sage
Mega Sage

Hello @Adithya Khurana ,

 

Can you elaborate on your question? so that any one can try to help you.

Please mark my answer helpful  & correct if it helps you
Thank you

G Ramana Murthy
ServiceNow Developer

Animesh Das2
Mega Sage

@Adithya Khurana ,

You can open dictionary of 'Description' field and change the type as 'html'. PFB SS.

AnimeshDas2_0-1728027398664.png

 

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

Ramesh Poola
Tera Guru

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