Duration field always -1
When I create a license with "trial" or "subscription" model and a duration (e.g. 120 days) and generate a license file, the <duration> field in the generated license file is always -1 and the expiration date is set to 120 days after the activation date.
What do I have to do to get the duration field to show the duration I entered during activation key creation?
-
Hi Joseph
By default, when the key is created, QLM calculates the expiry date based on the duration and sets a specific expiry date.
You can modify this behavior by setting the server properties: useDurationToSetExpiryDate and useDurationToSetExpiryDateWhenActivating. See details below.
useDurationToSetExpiryDate When creating an Activation Key with an expiry duration, the QLM License Server can convert the specified duration to a specific expiry date based on the current date. The SubscriptionExpiryDate field will be set to this expiry date.
useDurationToSetExpiryDateWhenActivating
When activating a duration based license, the QLM License Server can convert the specified duration to a specific expiry date based on the time of activation. The SubscriptionExpiryDate field will be set to this expiry date. 
Regards
John
Please sign in to leave a comment.
Comments
1 comment