Create a calendar view from custom table

Wade Clairmont
Tera Guru

Hey all,

I have read through as many community articles as could, and alas, no solution.   So I post the following:

I am trying to display a calendar from a custom table with start and end dates for audit from several different divisions in our company.

I have created the calendar report, but I want to remove the ability to modify the calendar content, so I have tried some other things.   I want the calendar to show like

"My Calendar"

my calendar.png

or "on-call Calendar"

oncall calender.png

or "CAB Workbench"

CAB Workbench.png

where it just displays the calendar, not a report, without   options to edit

calendar options.png

Looking at the link type for each, they are completely different, where all are URL from arguments but are called differently.

Is there a way to build a new or reuse one of these for my custom calendar?   If so, where would I find it or build it?

2 REPLIES 2

sachin_namjoshi
Kilo Patron
Kilo Patron

You can throw different parameters at the calendar via the query string in the url...



https://<your_instance_name>.service-now.com/nav_to.do?uri=/$oc.do%3Fsysparm_current_view%3Dweekly%26sysparm_group_id%3D0a52d3dcd7011200f2d224837e6103f2%26sysparm_timeline_enabled%3Dfalse%26sysparm_rotas%3D98ec5fdcd7011200f2d224837e610317%26sysparm_rosters%3Dd0ec5fdcd7011200f2d224837e610318,14ec5fdcd7011200f2d224837e610318%26sysparm_include_view%3Ddaily,weekly,monthly%26sysparm_start_date%3D2017-07-05



Notice the various parameters you can send: sysparm_current_view (monthly, weekly, yearly), sysparam_group_id (group to view on the calendar) ...



Regards,


Sachin


Hi Sachin, Can you include some sample code. Thanks.