Dictionary Field change type from Date to Date/Time

felipe_barbosa
ServiceNow Employee
ServiceNow Employee

Hi everyone,

 

Do you people know about a workaround to change a field type from Date to Date/Time? If I try directly in the dictionary personalization, it will block the change saying that can't convert from date to date/time, but I don't want to create a new field as the change impact on all the code that works around this field would be terrible to track and fix. All the source information that goes to this date field are already date/time so I believe that simply changing the field type is the less hurtfull change.

 

Hope to hear from you soon!

 

Thanks and regards,

 

Felipe

11 REPLIES 11


Hi ,

I have two fields . The field type of are Date/Time . These fields are inherited from parent table ( task ) .

So now wanted to change the field to Date field .

But I am aware , that we cannot do this with a Dictionary Override .

And it is problem to edit OOB fields .

Please let me know , if there is a solution for this .

 

Thanks in advance .

rajiv069
Kilo Expert

Hi Bueno,



As per me you can direct change the date type field into date/time type. This was what I experienced same situation was with me. The only option is to go to the system definition-> dictionary entry and search for your field/ element that you want to change into date/time field and from the list view you will be able to do it as I did in my case.



Note that if you want to change the field type to date/time you need to navigate to


System Definition ->Dictionary List view


search for your field and change in the Type column where you get the option.



Thanks,


Rajeev Kumar