The calendar function

kuma3
Tera Contributor

Hi community,
I want to create a calendar on ServiceNow that has functions similar to Google Calendar.
・Users can register and update their own events
・The schedule of the organization to which the users belongs can be managed by the manager of each organization.
・The ability to link specific user information to registered events

・Ability to view schedules by switching display (daily, weekly, monthly).
etc...
Are there any libraries that can achieve this?

3 REPLIES 3

Omender Singh
Tera Guru

You’re essentially trying to replicate Google Calendar-like capabilities inside ServiceNow. While ServiceNow doesn’t have a ready-made “Google Calendar clone,” here’s how you can achieve your use case step by step, using native features, optional plugins, and some scripting:

 

1. User Event Registration & Editing

  • Use a custom scoped app or extend from an existing table like cmn_schedule or create your own table like x_yourapp_user_events.

  • Give users write access to their own events via ACLs.

  • Use a Catalog Item or Portal Form to let them submit/update events easily.

  • Add logic to capture the user's sys_user record as part of the event entry.

 


 2. Org-wise Schedule Visibility for Managers

  • Maintain an Org-User relationship table (cmn_department or a custom one).

  • Use Reference fields to link events to departments or teams.

  • Define ACLs so managers (like Dept Heads) can see all events for their department.

  • Add filters or views that show events only for the selected department.

 


 3. Linking User Info to Events

  • Add a reference field to sys_user on your Event table.

  • On form load, auto-populate with current user, or allow selection if you’re an admin managing multiple calendars.

  • Optionally add multi-user support using a List Collector (if more than one person is involved).

 


 4. Calendar Display with Views (Day, Week, Month)

  • Use the ServiceNow Calendar Page Component (Available in App Engine Studio).

  • Calendar is powered by FullCalendar JS library behind the scenes.

  • It supports daily, weekly, and monthly views out-of-the-box.

  • You can configure which records to show and how the events appear.

Steps:

  • Create a Calendar Component Page.

  • Use a Data Resource tied to your Event Table.

  • Use configuration options to control display, filters, etc.

 


 5. Any Libraries to Use?

  • Yes — FullCalendar is internally used in UI Builder Calendar Component.

  • But you don’t need to bring in external libraries manually — ServiceNow has wrapped it in a clean component.

  • If you’re on Workspace or UI Builder, you can use this directly.

  • For older UI16 pages, custom widgets on Service Portal can be built using the FullCalendar JS Library, but this requires client-side scripting and GlideAjax calls to pull/push data.

 

kuma3
Tera Contributor

Thank you for your response.

 

May I ask more question?
Would it be possible to achieve these functionalities without using any external libraries?
・The ability to invite other users to participate in events registered in one’s own schedule or in the schedules of affiliated organizations for which one has authorization.
・The ability to configure whether a response (approval or rejection) is required for participation requests.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @kuma3 

Not sure, but the reply below is from ChatGPT. We had a similar requirement in our project as well. We used the on-call schedule—I don’t remember the exact details, but it requires some configuration changes. The on-call schedule is the best option since it comes with calendar and time booking features.

*************************************************************************************************************
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]

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