License, charges and usage
How you upload a license, what an environment is, what happens without a valid license and how usage is counted.
The license of M.App Enterprise is a file called a charge. You upload it in Management. It decides which functions are available and what you have purchased.
Upload a charge
- Open Management and select
CHARGES. - Enter a name for the
Environment. Letters, digits and underscores are allowed, up to 64 characters. - Select the charge file and save.
A new charge replaces the previous one. The charge is stored in the master database, so a backup of the master database contains the license.
Environments
One license can be used by several installations, for example a test system and a production system. The environment is the name by which an installation reports its usage. Give each installation its own name.
In the usage views, Management shows the usage of this installation as Current environment and the usage reported by the others as Other environments.
Without a valid license
- Logins to Studio are refused with the message
M.App Enterprise Studio Access has been declined. (No license). - Logins to the Apps page are refused with
M.App Enterprise Apps Access has been declined. (No license). - Management stays available, so that you can upload a charge.
With an evaluation license browser apps show the notice This software is licensed for development and evaluation purposes only. Use in production environments is not allowed.
Some functions need a Professional license, for example 3D maps and services from Luciad Fusion. Studio marks them with This feature requires a Professional license.
Licenses that report usage
Unless your license is permanent, the installation reports its usage to the licensing server once a day. For this the server needs outgoing HTTPS access to maelicensing.hexagon.com, and the Windows service M.App Service has to be running.
If the installation cannot report for two months, logins to Studio and to the Apps page are refused with M.App Enterprise Access has been declined. (Last sync too long ago). Before that, a notice shows the number of days that remain.
A permanent license does not report usage. It is tied to the first number of the version: a permanent license for version 16 does not work with version 17.
How usage is counted
Usage is counted in units of 15 minutes and shown in hours. Besides the sessions of users, requests with an API key that load the configuration of an app, a Map View or a legend are counted: per day, 25 such requests are one unit. Requests to a geoservice are not counted. See API keys.
Management shows the result under USAGE:
| Value | Meaning |
|---|---|
| Hours used | The hours used so far. For a subscription, since its start date. |
| Purchased hours | The hours contained in your charge. |
| Remaining hours | The difference between the two. |
| All environments / Current environment / Other environments | The usage of all installations with this license, of this one, and of the others. |
| PREDICTION | A forecast based on the average usage per day. |