Where to Find Backend Code for Calendar Type Report in ServiceNow?

uttkarshupa
Tera Expert

Hi,

I want to understand how the Calendar type report in ServiceNow works because I plan to build a custom dynamic content widget with extra features and functionality.

  • Where can I find the backend code for this calendar report?
  • How does it fetch data (tables, scripts, GlideRecord queries)?

 

uttkarshupa_0-1741863366518.png


Any guidance would be appreciated. Thanks!

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@uttkarshupa 

it comes from platform level and we don't have access to it.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @uttkarshupa 

There’s no way to access the backend of the reports, as it’s something I refer to as core code provided by the platform OOTB. If you're looking for specific changes, please let me know, and the community might be able to assist.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Thanks for the response!

I created a custom calendar using New Dynamic Content, and it successfully pulls data. However, I'm facing a major issue:

uttkarshupa_0-1741864241914.png

 

  • The calendar struggles to render 14,000 records, making it extremely slow.
  • I haven’t applied any heavy queries, and the same query works fine in Background Script.
  • Sometimes the calendar doesn’t load at all, and sometimes data stops coming.
  • I’ve tried multiple optimization techniques, but nothing seems to work.

Is there any recommended way to efficiently handle large datasets in a dynamic calendar setup? Any help would be greatly appreciated!

Hi @uttkarshupa 

14,000 records is too much to display all at once. You need to consider where and how you'll show these records. Calendars are meant to display data for a specific day, date, or month, not for all records over a long period. It's similar to how we use Outlook or events in Outlook — when there are too many, the calendar may fail to load in many cases. It's better to break down the visibility of the data based on specific conditions to improve performance and user experience.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************