The CreatorCon Call for Content is officially open! Get started here.

Service Portal FullCalendar

xiaix
Tera Guru

Just wanted to share some work I've done for those who would like to incorporate FullCalendar (FullCalendar - JavaScript Event Calendar ) into your Service Portal.

Here is what mine looks like now:

find_real_file.png

find_real_file.png

All the code is attached to this post (FullCalendar_For_ServicePortal_Helsinki.zip)

I hope someone finds it useful.

Message was edited by: David Dunn (** Updated code to fix Quick Access Event adding and coloring bug(s))

Message was edited by: David Dunn *MAJOR UPDATE*..   See my post below, on July 30, 2017

79 REPLIES 79

Hi!

I'm having the same problem. Did you ever get an answer?

Shawn12
Kilo Explorer

Hi David,

I'm trying to load your calendar into a Kingston instance and I can't seem to get the calendar to show. I've created the widgets, widget dependencies, tables (including making the u_sp_calendar table auto numbered), and uploaded the images. The result is attached. I haven't changed anything in the code including variables or css. I'm just stuck.

 

No Shawn unfortunately I am still stuck, but you have done a little better than myself, you don't head straight to a 404 page once you click on the calendar, mine attempts to load and then heads straight to the 404. 

I have had to look at other issues I've had but will get back and hope looking at it with fresh eye in a few days will help. 

Hey Shawn and anyone, 

Any luck on this at all? 

It appears that you're having issues with this widget:
find_real_file.png

 

First thing to check:

find_real_file.png

 

Make sure you're not using ServiceNow's default controller variable of c
All of my code uses c_this

 

Next thing to check would be this:

find_real_file.png

 

Again, make sure you have your main calendar widget named:

find_real_file.png