-
The scoped GlideSchedule API provides methods for performing operations on GlideSchedule objects, such as adding new schedule segments to a schedule, determining if a datetime is within the schedule, or setting the schedule timezone.Adds a new schedule segment to the...
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference
-
A GlideScriptableInputStream object cannot be instantiated directly, but is used as an opaque object which is used to connect an input stream from GlideSysAttachment.getContentStream() with other streaming APIs, such as GlideTextReader, GlideDigest, and XMLDocument2.
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference
-
ServiceNow processors are equivalent to Java servlets. Redirects to the specified URL.Encodes an object as a JSON string and writes it to the current URL.Writes the specified string to the current URL.Writes the specified string to the current URL in...
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference
-
The scoped GlideSecureRandomUtil API provides methods for generating integers, long values, and strings.Generates a pseudo-random integer. Generates a pseudo-random integer between 0 (inclusive) and the bound (exclusive) value that you pass into the method.Generates pseudo-random long value.Generates a random alpha-numeric...
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference
-
The GlideServletRequest API is used in processor scripts.Returns the MIME type of the body of the request. Returns the header value.Returns a comma-separated list of header names.Returns the header values.Returns the value of the parameter contained in the request URL.Returns...
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference
-
The ScopedGlideServletResponse API is used in processor scripts.Sends a temporary redirect to the client.Sets the MIME type of the responseSets a response header to the specified value. Sets the status code for the response.
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference
-
The GlideSession API allows you to find information about the current session. Clears a session client value previously set with putClientData(). Returns a session client value previously set with putClientData(). Gets the session's language code.Gets a list of roles for...
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference
-
The scoped GlideSession API provides a way to find information about the current session. Retrieves a session client value previously set with putClientData(). Returns the client IP address.Returns the application currently selected in the application picker. Returns the session's language...
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference
-
The GlideSysAttachment API provides a way to handle attachments.Copies attachments from the source record to the target record.Deletes the specified attachment.Returns a GlideRecord containing the matching attachment metadata such as name, type, or size.Returns the attachment content as a string.Returns...
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference
-
The scoped GlideSysListControl class allows you to determine if the New or Edit buttons are displayed.Returns the sys_id for the control.Instantiates a GlideSysListControl object.Returns true if the edit button is not displayed.Returns true when the New button is not displayed.
Tags:
Versions > Paris; Products > Now Platform App Engine > JavaScript API reference