Deprecated

WebApp manifest

A WebApp's manifest is a json file (manifest.json) stored in root of the WebApp. The manifest contains metadata about the WebApp.

The unique identifier of a WebApp is made up of id and version. If a WebApp is uploaded and there is an existing WebApp with the same id and version, it will be overwritten given that force deploy is used.

The type is mandatory and distinguishes a WebApp from a RESTApp. The name, description, author and helpUrl are used for UI purposes when importing and administering deployed WebApps in the SiteVision editor.

// manifest.json
{
   "id": "timelineSearch",
   "version": "0.0.1",
   "type": "WebApp",
   "name": "Social Search",
   "description": "A simplistic timeline search",
   "author": "Sitevision AB",
   "helpUrl": "https://help.sitevision.se/timelinewebapp",
   "maxUploadSizeInMB": 16,  // Max app upload size (default is 64)
   "requirePrivileged": true // Declares [privileged](/docs/webapps/webapps-1/require/privileged) usage
   "storage": {              // Declares [data store](/docs/data-storage) usage
      "collectionDataStore": "myCollectionStore",
      "keyValueDataStore": "myStore" // multiple stores ["x", "y"]
   },
   "csrfProtection": true // Declares CSRF protection usage (since 9.1)
}