API Docs for: 1.0.0
Show:

GSPCalendarDebug.Server Class

Constructor

GSPCalendarDebug.Server

()

Item Index

Properties

calendar

GlideRecord | PortalCalendar

The PortalCalendar for the active service portal.

data

Object
Tracks the data to send over to the Widget in the UI. All data placed here arrives as part of the $scope.data object in the client side.

data.events

Object

All active events for the currently associated Calendar.

This may pose a memory issue at a future point, but the current use case lets this remain simple.

See the Calendar utility for the details retrieved by the getEvents method.

options

Object
Tracks the options provided to the Widget for its own customizations. Additional information can also be added to this object or modified as needed in the server side script.

sp

GlideRecord | ServicePortal

The GlideRecord for the active ServicePortal from which to pull values such as the current calendar or owner information if needed.

utility

CWTCalendarUtil

Used for retrieving necessary calendar information.