Custom Attributes in License Strings
In addition to explicitly specified strings and predefined substitution variables, a publisher can configure one or more custom attributes that can be expressed as the value of one of the four license strings: Issuer, Notice, Serial Number, and Vendor String.
Note:Custom license model attributes are defined as part of the license technology and their use is governed, in part, by the way they are set up in the license model. For more information about creating custom license model attributes, see Adding Custom License Attributes. For more information about creating other types of custom attributes, see Adding Custom Attributes.
To express a custom attribute in a license string, at the time the license model is created (on the Create a License Model page), specify the value of the attribute in the license string as the name of the attribute, with a prefix depending on the type of attribute, enclosed in curly braces.
Custom Attribute Type |
Prefix |
License Model |
(no prefix) |
Product |
Product. |
Line Item |
EntitlementLineItem. |
Entitlement |
Entitlement. |
Account |
SoldTo. |
For example, to use the value of a license model attribute named CPU_CAPACITY in VENDOR_STRING:
Vendor String | Specify Value Now | {CPU_CAPACITY}
For example, to use the value of a product attribute named PRODUCT_FAMILY in NOTICE:
Notice | Specify Value Now | {Product.PRODUCT_FAMILY}
The name of the attribute as specified in the license string is case sensitive.
If any custom license model attributes have been configured on the license technology, they are displayed in the license model wizard in the Set Up Custom Attributes page that appears between the Create a License Model and Set Up Policies pages. The Set Up Custom Attributes page is used to select the time that the true value of the custom license model attribute is set (license model time, entitlement time, or fulfillment time).
Other custom attributes are displayed when creating or editing instances of the entities they are defined on.
See Also
Predefined Substitution Variables for License Strings
Setting Up Custom License Model Attributes
License Model Attribute Specification Time