Zum Hauptinhalt springen

ClientExecutable

Constructors​

Constructor​

new ClientExecutable(): ClientExecutable

Returns​

ClientExecutable

Properties​

propertyName​

static propertyName: string

The name of the global custom property that contains the client executable whitelist.


propertyType​

static propertyType: string

The type of the global custom property that contains the client executable whitelist.


libraryClientExecutableScripts​

static libraryClientExecutableScripts: string[]

A list of the library client executable scripts. In order to use the library client components, you should call this function in your script!

Methods​

addClientExecutableScript()​

static addClientExecutableScript(scriptNames): void

Adds the given script names to the client executable whitelist. See https://otris.software/documents/howto/common/secure-script-execution.html

⚠️ CAUTION: Please restart the tomcat server after adding new scripts to the whitelist!

Parameters​

scriptNames​

String or array of strings of script names to add to the whitelist

string | string[]

Returns​

void

Throws​

Error if the custom property could not be set


addLibraryClientExecutableScripts()​

static addLibraryClientExecutableScripts(): void

Adds the library client executable scripts to the client executable whitelist. In order to use the library client components, you should call this static in your script.

Returns​

void