AdamRMS user guide

Apps

Small programs that extend AdamRMS: react to changes, add buttons and panels to pages, or connect to other services.

What an App is

An App is a small program, written in JavaScript, that your organisation writes or installs to extend AdamRMS. For example, an App could post to your team chat when an asset is archived, refuse a change that breaks one of your rules, or add a panel to a page for a warehouse check.

Each installed App acts as its own member of your organisation, which can only do what you approved when you installed it. It doesn't use a licence.

What an App can do

  • React to changes: it is sent what a change was given and what it returned.
  • Check changes first: it can change or refuse a change before it takes effect.
  • Add functions: new actions that people, AdamRMS AI and the API can use.
  • Add panels to pages: an asset's or client's page, or a project's Finance tab. Anyone who can see the page sees them, and their buttons and forms run as the App.
  • Webhooks and schedules: outside services can run it, or it can run on a timetable.
  • Call other services, only at the web addresses you approve, over HTTPS.
  • Email members, such as a reminder that a delivery is due. The email names the App, and each member can turn off one App's emails, or every App's, in Email notifications in their account settings. An App needs the Email members permission for this.

Installing and approving

Installing an App shows exactly what it asks for: its permissions, the functions it adds, the web addresses it may use, and its secrets and settings. Nothing runs until an administrator approves it. Upgrading to a new version replaces what was approved with what that version asks for.

Secrets, such as another service's API key, are encrypted and never shown again. The App's code never sees them: AdamRMS fills them into its requests to the web addresses you approved.

AdamRMS AI and other Apps can't change what an App is allowed to do. Only a person can.

The marketplace

The marketplace holds Apps other organisations have written and shared. AdamRMS reviews every version by hand before listing it. Adding one copies it into your organisation. Nothing runs until you install it and approve what it asks for.

To share your own App, submit a version. Once it is listed, any organisation can see its name, description and code, and install it.

When an App goes wrong

Every run is logged in App runs, with what started it and what happened. An App that keeps failing is paused: changes aren't sent to it, its webhooks are refused and its schedules don't run. Fix it and upgrade it to a new version, or resume it from its page.