ClientExecutable
Constructors
Constructor
new ClientExecutable():
ClientExecutable
Returns
ClientExecutable
Properties
propertyName
staticpropertyName:string
The name of the global custom property that contains the client executable whitelist.
propertyType
staticpropertyType:string
The type of the global custom property that contains the client executable whitelist.
libraryClientExecutableScripts
staticlibraryClientExecutableScripts: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()
staticaddClientExecutableScript(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()
staticaddLibraryClientExecutableScripts():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