Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to clear date field in list view?

Tadz
Kilo Sage

Hi Everyone,

Is there a way to clear a date field in list view?

Somehow clearing date in list view is not available.

Please see screenshot:

find_real_file.png

 

Thanks,

Tadz

1 ACCEPTED SOLUTION

Willem
Giga Sage
Giga Sage

This behavior is per design as per the ServiceNow Known Error Database.

Please refer to:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0713663

1 - Set system property glide.ui.list_edit.show_calendar_only to false, so you have a text field to enter data manually.
2 - Navigate to list view with a date field in it.
3 - Attempt to clear a value from the field. This will not work, as the popup disappears before you can delete the value.
4 - Set the system property  glide.ui.list_edit.show_calendar_only to true. The date/time field value can not be blanked out from list view.

 

This behaviour is by design. List v3 is now deprecated and no longer supported.

View solution in original post

4 REPLIES 4

Willem
Giga Sage
Giga Sage

This behavior is per design as per the ServiceNow Known Error Database.

Please refer to:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0713663

1 - Set system property glide.ui.list_edit.show_calendar_only to false, so you have a text field to enter data manually.
2 - Navigate to list view with a date field in it.
3 - Attempt to clear a value from the field. This will not work, as the popup disappears before you can delete the value.
4 - Set the system property  glide.ui.list_edit.show_calendar_only to true. The date/time field value can not be blanked out from list view.

 

This behaviour is by design. List v3 is now deprecated and no longer supported.

@Willem  So there is No Way to do it?  Is that what you are saying?

smanem
Tera Contributor

Couple of Options for Admins:

Clear the field value by adding the field to Form Layout (Configure >> Form Design >> Add the field ex: Disposal Date).

or

Delete the field value via Background Script.

Tadz
Kilo Sage

Thanks Willem!