Readonly
canonicalB.util.canonicalServerName
will tell you the fully qualified name of server this script is currently executing on.
Readonly
CssThe [[CssClasses]].
Readonly
currentB.util.currentServer
will tell you what server this script is currently executing on.
Readonly
hostB.util.hostAndNamespace
will tell you the host.namespace of server this script is currently executing on.
Readonly
namespaceB.util.namespace
will tell you the fully qualified name of server this script is currently executing on.
Readonly
OptionalTODO
Readonly
staticReturns the static prefix to access static content.
Using this prefix will allow the content to be served cached by the browser.
This is equivalent \
/static/${B.util.version}`` right now. However this
may change in the future to a CDN.
Readonly
UUIDReturns a UUID/GUID object. These are system generated universally unique identifiers.
Readonly
versionReturns Bluesteps running version
Manually removes a key from the cache. This is useful when you need a query removed from the cache before a commit.
Convenience method. It just calls B.util.cacheRemove(B.util.toId(id)).
Used for updating the running formula.
Create an [[Alert]]. For details see [[AlertBuilder]]. The fields: type, message, and endDate are required.
Optional
settings: AlertSettingsSettings object contain field necessary to create the Alert. If parameter is not specified a builder is returned.
Creates an [[Email]] object to send an email.
Optional
settings: EmailSettingsReturns true if the current users is debugging the current formula.
Creates a new java BigDecimal object from the given value.
Creates a new java BigInteger object from the given value.
Returns a new Calendar object with the current time.
Optional
instant: InstantOrDateProvides you the id of the currently running Script
Super User Only.
Creates an [[Shlink]] object to generate a short link.
Optional
settings: ShlinkSettingsDelays the continued execution of this thread for the specified number of milliseconds. While this method certainly has its uses, it is generally not recommended for use in most scripts; since it is easy to be tempted to use it to "bandaid" design flaws.
Creates an [[TextMessage]] object to send an Text.
Optional
settings: TextSettingsConvert the name and value and the class type to an [[AltId]]
The AltId's name.
The AltId's value.
Value representing the class type of AltId
If a short id is passed it uses the classIfIdIsShortId to identify its class. Otherwise what ever class stored in the id is used.
Value representing an full or short id.
Does it best to change the value to a Host Object.
A conversion will be tried for Objects and Arrays.
If it or a member can't be converted then toString()
will be used for the value.
Convert a full or short id and its class type to an [[Id]]
Value representing an full or short id.
Optional
classType: string | numberRequired when id represents a short id.
Convert a full or short id and its class type to an Id object, or null if it doesn't exist.
string representing a full id.
Returns a UUID/GUID string. This is the same as calling B.util.UUID.randomUUID().toString();
TODO
Example