Using environment variables with custom fields - Intergraph Smart Licensing - Version 14.2 - Installation & Upgrade - Hexagon

Smart Licensing Installation and Setup

Language
English
Product
Intergraph Smart Licensing
Search by Category
Installation & Upgrade

Environment variables are not supported when setting up licensing for SmartPlant Foundation.

Environment variables can be used together with custom fields. The advantage of using environment variables is that an administrator can control the values of these variables via automated scripts rather than having users make selections on the Client Settings tab in Smart Licensing Client.

Here is an example workflow that an administrator could follow when defining a custom field on the Licensing Portal.

  1. Click Configure ISL > Projects.

  2. Select a project.

  3. Click the plus button to create a custom field.

  4. Type a name for the custom field (for example, "Department"), and click Add.

  5. Click the pencil to edit the custom field.

  6. Set Allow any value for environment variable override ON to allow any value in the environment variable on the client.

  7. Add values to the custom field, as needed.

  8. On the client computer, create an environment variable named "SLENV_<custom field name>". In this example, it would be named SLENV_Department.

  9. Set the value of this environment variable on the client to any value.

In the example, the department number in the environment variable SLENV_Department overrides the selection in the Department field on the Client Settings tab.

  • When the Allow any value for environment variable override option is ON, and the environment variable SLENV_<custom field name> is defined on the client computer, its value can be anything. This value overrides the selection on the Client Settings tab in Smart Licensing Client.

  • If the Allow any value for environment variable override option is OFF, and the environment variable SLENV_<custom field name> is defined on the client computer, its value must be one of the values for this custom field on the portal, in order to get a license. This value overrides the previous selection on the Client Settings tab in Smart Licensing Client. The Smart Licensing Client will show this value but not allow the user to change it.