Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

Progressive Web App

ResourceSpace can be installed as a Progressive Web App. This is achieved with the manifest.json file in the root of the ResourceSpace code. 

The manifest.json file currently sets the application name, app icons, UI colours, shortcuts and screenshots for the web application. 

To install ResourceSpace on a desktop browser click the button "Install ResourceSpace" in your address bar:

install-pwa

Then click "Install" to install the application. 

pwa-install-popup

By default the manifest.json file will use the root of your domain as the URL of your application - for example https://my-assets.com. If your ResourceSpace site is in a subdirectory of your domain - e.g. https://my-assets.com/resourcespace then the manifest.json file will need updating so that all URLs and the ID refer to this. 

Visit https://web.dev/articles/add-manifest to see how the manifest can be further customised.

Changing the location of the manifest file

If you wish to place the web app manifest file in a different location you can change the $web_app_manifest_location config option.

By default it is set to "/manifest.json" - if you wish to place a new manifest file in your filestore folder you can set it to "/filestore/manifest.json"