External plugins
This page describes Revolution release 4.0.0.
On this page
14. External plugins
Revolution can host other web apps, from partners or built in-house, inside its own window, so you don’t have to switch between separate programs. Once an administrator turns one on, it appears in its own External group in the sidebar, with its own icon and name, and opens like any other page in Revolution.
Plugins are set up per tenant, by an administrator, in Settings → Tenant Settings → Plugins. The administrator provides what Revolution needs to launch and trust the app: its display name, description, web address, an identifier and a verification key. The administrator also sets a few behaviour options: whether it’s switched on, whether it warms up in the background, and whether your colour theme is passed through to it. For operators, a plugin is an extra item in the sidebar.
Type, access and visibility
- Plugin Type: UI plugin (launched from the sidebar) or Service plugin (background, no user). It cannot be changed after the plugin is created. A service plugin has no sidebar entry, so it has no Launch URL, Icon, Background Timeout, Launch In Background, UI-Only Launch, Include Brand in Launch URL or Visible To, and it always needs a JWKS (Public Key).
- API Access: a grid of Read, Write and Execute scopes per area, such as Devices, Schedules and Python Scripts. Nothing is granted by default: a plugin with no API access can be launched but cannot read or change anything. A user can only use the scopes they hold themselves. A service plugin has no user, so it gets exactly what is granted here.
- Visible To: the capabilities that let a member see the plugin in the sidebar. Leave it empty to show the plugin to everyone. Visible only to specific members narrows it further: a member must hold one of the selected capabilities and be named in that list. It needs permission to view the tenant’s users.
- Restrict to specific devices: limits the plugin to the devices you pick in Devices this plugin may use. With no devices picked the plugin cannot reach any device. The limit covers direct device calls only: a schedule the plugin starts moves whichever devices it uses.
- Import from JSON: at the bottom left of the dialog. Paste the registration JSON the plugin author provided, or click Upload file, then click Import. This fills in the form and saves nothing until you click Save Changes.
14.1 Building a plugin
A plugin is a web app that its developer hosts. To build one from a starter template and register it, see Building a plugin in the developer docs. How it signs in is described in Authentication. The developer gives the administrator the client ID and the public key to enter in the dialog above.