TODO

Example

TODO

Hierarchy

Constructors

Properties

crypto: Crypto
db: DB
exports: {
    [key: string]: any;
}

Data stored in this object will persist between formulas on the same thread. Will be cleared when the thread is finished or when [[B.clearExports]] is called. Guest language objects will automactically be converted to host objects. Example B.exports.key = value. To read the value use const value = B.exports.key.

Type declaration

  • [key: string]: any
find: Finder

Used to find and give types to various objects given their string representation of their id.

See

[[Finder]]

Example

const baseRecord = B.find.baseRecord("444666")
globalStrings: {
    [key: string]: string;
}

Global string to use with formatters.

Type declaration

  • [key: string]: string

Example

const format = B.globalStrings.clientHeader;
mail: Mail
mesa: Mesa
net: Net

The [[Net]].

optUser: Optional<User>

An Optional [[User]]. The Optional will be empty if no one is logged in.

optUserRecordTypeEntry: Optional<Bluestep.Relate.Entry>

An Optional User [[Relate.Entry]]. The Optional will be empty if no one is logged in or is a super. Same as calling B.optUser().flatMap(user => user.optRecordTypeEntry())

The [[Organization]].

Queries

Reports

soap: Soap
text: Text
time: Time

The [[Time]].

user: User

An [[User]]. The [[User]] will be null if no one is logged in. Same as calling B.optUser.orElse(null)

userRecordTypeEntry: Bluestep.Relate.Entry

A [[Relate.Entry]]. The [[Relate.Entry]] will be null if no one is logged in or is a super. Same as calling B.optUserRecordTypeEntry.orElse(null)

util: Util

The [[Util]].

Methods

  • Resets the B.exports for the next formula on the same thread.

    Returns void

Generated using TypeDoc