URL Alias Object
Allows the creation of a short URL to include in notification content
for mobile Devices. (Created using the @event::createURLAliasObject
method.)
Creation Method: Provided as
a context object; created using the @event::createURLAliasObject
method.
Reference Name: @urlAlias
Scope:
Script lifecycle.
Special Parameters
This object requires that two parameters be set for each URL, using
the setParameter
method:
- username
is a reserved key required for authentication, and specifies the name
of a User with access to the xMatters mobile access. It cannot be set
more than once.
- company
identifies the User's Company in a multiple-Company deployment. If the
company parameter is not specified, the default Company is assumed. It
is a reserved key required for authentication, and cannot be set more
than once.
URL Alias object methods
The following methods are available with the URL Alias script object:
activate
setHost
setParameter
setTarget
setTimeout