License Entitlements
Custom Fields
7 min
a custom field is a key\ value pair that is defined for a given product, which you can override for any license you issue or edit set a license custom field for a license policy license policies are templates you can use when issuing a license, and you can specify a license custom field for any license policy any license issued with the policy will use the license custom field open the license policy editor by navigating to the license detail page > license policies, and either "add a new license policy" of by clicking on the pencil of an existing license policy in the license policy editor, click on "custom fields" and "select the custom fields" from the dropdown tick the box of any product custom field you wish to override the values for their values (not their names) for those selected fields can then be edited in the table click confirm when you are done selecting custom fields editing values for policy edit a license custom field for an existing license open the license detail page, and click on custom fields you will see a table with all of the custom fields for that product, regardless whether or not they have been overridden click the pencil on the row for the value of the license custom field you would like to override click "confirm" to save the changes editing custom field value product vs license custom fields product custom fields are defined on the product with default values when a license is created and those default values are overridden, license specific custom fields a re generated in our database these fields are returned with the license data, allowing you to track license specific overrides if you add a new custom field to a product after licenses have already been created, those existing licenses will not automatically receive the new field to handle this, when fetching licenses via the management api , licensespring includes product custom fields in the license response this enables you to see the differences between the product defaults and license specific values for new product custom fields added after a license was created, you can retrieve them directly using the following endpoint get /api/v1/product custom fields/?company={{platform company id}}\&product={product id} if defined, the key and the value of a custom field is always returned on license checks and license activations you may modify the value for any custom field for each license for more information on defining product custom fields, please read product custom fields docid\ rohbfi4zxlpqcjcauk5r3