- 18 Nov 2024
- 3 Minutes to read
- Print
- DarkLight
- PDF
Licenses
- Updated on 18 Nov 2024
- 3 Minutes to read
- Print
- DarkLight
- PDF
Manage product licenses for your packages, define pricing information and display them in Catalog.
License keys can also be used as dynamic variables within packages.
Overview
The details screen provides basic information of the currently opened license.
License Tracking - How license usage is calculated. The following options are available:
- Unspecified - License usage is not specified.
- Concurrent Usage - Is calculated based on the number of licenses in active use at a particular time.
- User - Calculation is based on the total number of users using it.
- Device - Calculation is based on the total number of devices using it.
License count - How many units you have.
License key - Here you can insert a dynamic variable defined for a package. See dynamic variable for more details about variables.
License cost - The cost for a license, which is displayed in the user's Catalog as a red label, for all applications assigned to this license.
Packages screen
View a list of all packages currently assigned, assign new or remove existing ones.
To view the details of a package or edit it, double click its entry.
To add a package, simply start typing in the lookup field for the desired package and select it from the results lists.
For more information see Packages.
Auditing screen
View a comprehensive log of changes to this license, displaying the identity behind each modification.
This screen is available only if the auditing is enabled in the Database Event Collector. For more information, see Auditing.
How to create a license and assign packages to it
Before creating a license, make sure the desired packages are created.
- Go to Manage > Workspace > Licenses.
- Click + Create in the table toolbar.
- In the Create license dialog box that opens, in Overview, fill in the necessary info. Click Next.
- In License fill in the necessary info and click Next.
- In Summary, leave the Modify license after creation selected. Click Next.
- In the detailed view screen that opens, in Overview, insert the license key.
- In Packages, search for the necessary package and add it.
- Double-click the entry of the package to open it.
- Go to Entitlements and add the necessary identities and select the Catalog publish stage for them. This step makes the category available for the user in the Side Menu of Catalog.
How to use a license key as a dynamic variable
Creating a dynamic variable for a license key can help you save time instead of wasting it searching for a key each time you install an application. Then you use that variable inside an Install action as a placeholder for a dynamically value obtained by Liquit Workspace.
In the example below we will create a dynamic variable for the license key of FolderSizes, a disk space analysis software.
- Go to Manage > Workspace > Licenses.
- Create a new license with the following parameters:
- Name FolderSizes License
- License count 2
- License cost 20
- License key 123-123-123-123
- Go to Manage > Workspace > Variables.
- Create a new variable with the following parameters:
- Type Dynamic
- Name FolderSizes_License
- Entity type License
- Entity select the FolderSizes License created at step 2
- Property License key
- Go to Manage > Workspace > Packages.
- Create a new package with the following parameters:
- Type Custom package
- Name File Size Reporting
Leave the Modify package after creation selected. Click Finish.
- In the detailed view screen that opens, go to Releases > Actions.
- Click Create action set in the screen toolbar. Name the action set Install and select the Type Install.
- Inside the action set click Create action in the table toolbar. Insert the following parameters:
- Type Start process
- Name Start fs9-setup.exe
- Process select the fs9-setup.exe file
- Arguments /qn LICENSECODE=$(FolderSizesLicense)
The installer is run silently and it gets the license key from your variable. Now you only have to think how you want to make the app available to your users and create actions accordingly.