Logotype Sitevision Developer
Log in
Log in

appInfo

The appInfo object contains information about the executing WebApp.
Import appInfo in a server side context to retrieve the object.

js
import appInfo from "@sitevision/api/server/appInfo";
json
{ "appVersion": "0.0.2", "maxUploadSizeInMB": 64, "appHelpURL": "https://developer.sitevision.se", "addon": { "jcr:uuid": "180.7d9847516716d6dd931", "jcr:primaryType": "sv:customModule", "displayName": "webapp" }, "appName": "WebApp information", "appDescription": "A simple WebApp", "certificate": { "signee": "Sitevision", "signed": true }, "active": false, "runtime": { "sitevisionVersion": "2023.04.2", "environmentType": "prod", "scriptEngineLanguageVersion": 200, "scriptEngineVersion": "Rhino 1.7.12 2020 01 13", "serverName": "SiteVision Server", "scriptEngineName": "Mozilla Rhino" }, "jcr:uuid": "360.3af39f1675e3ddd2d3", "requirePrivileged": false, "storage": { "collectionDataStore": [ "cstore1", "cstore2" ], "keyValueDataStore": "kvstore" }, "appIdentifier": "myWebApp", "appAuthor": "Sitevision AB", "appType": "WebApp", "appImportDate": 1543475296847, "jcr:primaryType": "sv:webApp", "csrfProtection": true }
Did you find the content on this page useful?