How to allow specific customers to work offline indefinitely
Overview
The MaxDaysOffline property allows you to configure how many days a customer can work offline and what action to take when the offline period is exceeded.
In some cases, you may want to allow specific customers to work offline indefinitely while restricting other customers to working offline for the period specified in MaxDaysOffline.
This requirement can be addressed by defining a QLM feature that you would enable for specific customers. At the application level, you would first check if that feature is enabled and update the value of MaxDaysOffline accordingly.
Implementation
Create a feature
Launch the QLM Management Console
Go to the Define Products tab and select your product
In the Product Information tab, next to the Features section, click Add
Add a new feature and note the Feature Set and the Feature ID.
Save your changes and upload the new product definition to the server
Application level changes
At the application level, instead of calling ValidateLicenseAtStartup which will perform the license server validation based on MaxDaysOffline, you will need to first check if the specified feature is enabled and perform the proper validation accordingly.
The code below replaces the standard code which calls ValidateLicenseAtStartup.
Last updated