TX Sheet Control

LicensePayload Interface

Interface

What TX Sheet Control reads from a license file, under the names of the API. The trial dates are present for trials only.

Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
customerNameThe company the license is issued to: the organization of the Text Control account's billing address, or the account's ID when it has none.
expiresAtFor a trial, the end of its 30-day period as an ISO 8601 UTC string; absent for Developer and OEM licenses.
issuedAtFor a trial, the start of its 30-day period as an ISO 8601 UTC string; absent for Developer and OEM licenses.
licenseIdThe license ID, TRIAL-V2- or LIC-V2- followed by a UUID; every license file of the same serial number has the same ID.
majorVersionThe licensed major version, read from the product code of the license: SH-0200-XA-S is version 2.0, which covers every 2.x release.
productsThe covered components, SheetEditor and ServerSheetControl; every license from the Text Control Account covers both.
typeThe license type: trial, developer or oem. The declared eval is never issued.

Examples

Pass the LicensePayload value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

import type { LicensePayload } from '@txtextcontrol/tx-sheet-control';

function inspectLicensePayloadLicenseId(licensePayload: LicensePayload) {
    const value = licensePayload['licenseId'];
    console.log('LicensePayload.licenseId', value);
}

See Also