Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Date Range in Service Portal

vidhya_mouli
Tera Sage

How do I include date range in Service Portal?

I have a custom widget for "cmdb_ci_outage" table. I want to include a search using the date. It should be in the range of three months.

vidhya_mouli_0-1708434354332.png

 

Not sure how to do this. Any suggestions?

I am interested in something like this: https://www.daterangepicker.com/#example4
But not sure how to incorporate this to my widget.

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

Hi @vidhya_mouli 

 

https://www.servicenow.com/community/now-platform-forum/date-picker-in-service-portal/m-p/1148467

 

https://www.servicenow.com/community/developer-forum/service-portal-date-field/m-p/1812380

 

https://www.servicenow.com/community/developer-forum/how-to-create-a-datetime-picker-in-serviceporta...

 

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

Appreciate your help, but all the links provided use date pickers. I am looking for a month's range. I did some research but could not find any.

Hi @vidhya_mouli 

 

I think this is what is OOTB, you can use. 

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************