
jeffhuckins asked a question.
Our software product licensing UI provides a dropdown list of available capabilities (features) that can be enabled with an activation code for that capability. However, it is possible that a user accidentally enters an activation code for the wrong capability. Is there any FlexNet Embedded client method that we can call to determine which capability the activation code is associated with?
Hi @jeffhuckins ,
Yes, a best practice is to put the Activation ID from FlexNet Operations into one of the license model attributes (Issuer, Serial Number, Vendor String, Notice) using Substitution variables. For example, if you wanted to put the Activation ID in the Vendor String of a License Model, it would look like:
The full Substitution Variable is {EntitlementLineItem.activationId}
If you view the attributes of your local licenses in trusted storage the Activation ID will then be in the Vendor String attribute of this feature.
You can see this also in FNO if you view the response that was sent to a device:
MessageType="Capability response"
ServerIDType=String
ServerID=BACK_OFFICE
SourceIds=(
Type=String
ID=BACK_OFFICE
)
Lifetime=86400
ResponseTime="Nov 20, 2025 11:20:26 AM"
LastResponseTimeMilliseconds=0
RequestHostID=1234567890
RequestHostIDType=String
MachineType=Physical
EnterpriseID=2635507
License=(
Name=F1
Vendor=fnedemo
Version=1.0
Expires=2-sep-2028
Count=1
VersionFormat=FIXED
HostID=(
Type=String
ID=1234567890
)
Issued=20-nov-2025
Start=2-sep-2020
VendorString=3cff-ae31-74a6-47ee-98ce-0724-718b-338f
Notice=ACME_Customer
Issuer=ACME
Best regards,
Jim