Custom Fields and Environment Variables - Intergraph Smart Licensing - Version 14.2 - Help - Hexagon

Smart Licensing Portal Help

Language
English
Product
Intergraph Smart Licensing
Search by Category
Help

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

Custom fields have a property that allows any value in environment variables on Smart Licensing clients.

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.

How to add a custom field with environment variable override

  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.

For more information about environment variables, see the Smart Licensing Client documentation.