GSPCalendarSummary.Server Class
Constructor
GSPCalendarSummary.Server
()
Item Index
Methods
Methods
isTrue
-
the
Due to the variety of ways that ServiceNow indicates "True" or "False" inside the system, this function interprets the variety of truthy values and assess if the passed value is one of them and returns false otherwise as the value is not "truthy".
Returns:
The leveled boolean value indicating if the passed value should be considered true of false.
Properties
data
Object
data.calendar
Object
The data to describe the basics of the current calendar such as title and description.
See the Calendar utility for the details retrieved by the getCalendarJSON method.
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
options.nonFeatured
Boolean
Indicates if events that are not flagged as featured should be included in the list of events to display.
Default: false
sp
GlideRecord | ServicePortal
The GlideRecord for the active ServicePortal from which to pull values such as the current calendar or owner information if needed.