Where to Find Backend Code for Calendar Type Report in ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 03:56 AM
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)?
Any guidance would be appreciated. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 03:59 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 04:02 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 04:10 AM
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:
- 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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 06:55 AM
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]
****************************************************************************************************************