Skip to content

Commit 1270840

Browse files
committed
doc locking license fields
1 parent cd4ad49 commit 1270840

5 files changed

+47
-5
lines changed

docs/vendor/licenses-adding-custom-fields.md

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,56 @@
22

33
This topic describes how to manage customer license fields in the Replicated Vendor Portal, including how to add custom fields and set initial values for the built-in fields.
44

5-
## Set Initial Values for Built-In License Fields (Beta)
5+
## Manage Built-In License Fields
66

7-
You can set initial values to populate the **Create Customer** form in the Vendor Portal when a new customer is created. This ensures that each new customer created from the Vendor Portal UI starts with the same set of built-in license field values.
7+
This section describes how to manage the built-in license fields that are included in the licenses for all customer records by default. For a list of the built-in license fields, see [Built-In License Fields](/vendor/licenses-using-builtin-fields).
8+
9+
### Set Initial Values for Built-In License Fields
10+
11+
You can set initial values to populate the **Create Customer** form in the Vendor Portal when a new customer is created. This ensures that each new customer created from the Vendor Portal UI starts with the same set of built-in license field values. These _initial_ values differ from _default_ values in that setting initial values does not update the license field values for any existing customers.
812

913
:::note
1014
Initial values are not applied to new customers created through the Vendor API v3. For more information, see [Create a customer](https://replicated-vendor-api.readme.io/reference/createcustomer-1) in the Vendor API v3 documentation.
1115
:::
1216

13-
These _initial_ values differ from _default_ values in that setting initial values does not update the license field values for any existing customers.
14-
1517
To set initial values for built-in license fields:
1618

1719
1. In the Vendor Portal, go to **License Fields**.
1820

19-
1. Under **Built-in license options**, click **Edit** next to each license field where you want to set an initial value.
21+
1. Under **Built-in license options**, open the menu for the license field where you want to set an initial value and click **Edit**.
2022

2123
![Edit Initial Value](/images/edit-initial-value.png)
2224

2325
[View a larger version of this image](/images/edit-initial-value.png)
2426

27+
1. In the **Edit built-in license field** dialog, edit the **Initial value** field.
28+
29+
![Edit license field dialog](/images/edit-built-in-license-field-dialog.png)
30+
31+
[View a larger version of this image](/images/edit-built-in-license-field-dialog.png)
32+
33+
:::note
34+
Click **Reset initial value** to reset the value for the field to its default.
35+
:::
36+
37+
1. (Optional) Enable the **Locked** checkbox to lock the license field.
38+
39+
When a license field is locked, a lock icon is displayed on both the **Create a new customer** and **Manage customer** pages.
40+
41+
1. Click **Update** to save your changes.
42+
43+
### Lock Built-In License Fields
44+
45+
When a license field is locked, a lock icon is displayed on both the **Create a new customer** and **Manage customer** pages. To edit a locked field, click the lock icon to temporarily unlock it. Locking a license field makes it more difficult to accidentally change the field's value.
46+
47+
To lock a built-in license field:
48+
49+
1. Under **Built-in license options**, open the menu for the license field that you want to lock and click **Edit**.
50+
51+
1. In the **Edit built-in license field** dialog, enable the **Locked** checkbox to lock the license field.
52+
53+
1. Click **Update** to save your changes.
54+
2555
## Manage Custom License Fields
2656

2757
You can create custom license fields in the Vendor Portal. For example, you can create a custom license field to set the number of active users permitted. Or, you can create a field that sets the number of nodes a customer is permitted on their cluster.

docs/vendor/releases-creating-customer.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@ To edit license fields:
7878
* For applications installed with Helm that use the Replicated SDK, you can add logic to your application to enforce entitlements before installation or during runtime using the Replicated SDK API license endpoints. See [Check Entitlements in Helm Charts Before Deployment](licenses-reference-helm).
7979
* For applications installed with Replicated KOTS, update the license in the admin console. See [Update Online Licenses](/enterprise/updating-licenses#update-online-licenses) and [Update Air Gap Licenses](/enterprise/updating-licenses#update-air-gap-licenses) in _Updating Licenses in the Admin Console_.
8080

81+
## Edit a Locked License Field
82+
83+
When a license field is locked, a lock icon is displayed on both the **Create a new customer** and **Manage customer** pages. For more information about how to lock and unlock license fields, see [Lock Built-In License Fields](licenses-adding-custom-fields#lock-built-in-license-fields) in _Manage Customer License Fields_.
84+
85+
To edit a locked field:
86+
87+
* On the **Create a new customer** page or the **Manage customer** page, click the lock icon to temporarily unlock the field.
88+
89+
![Lock icon on license field](/images/locked-license-field.png)
90+
91+
[View a larger version of this image](/images/locked-license-field.png)
92+
8193
## Archive a Customer
8294

8395
When you archive a customer in the Vendor Portal, the customer is hidden from search by default and becomes read-only. Archival does not affect the utility of license files downloaded before the customer was archived.
Loading

static/images/edit-initial-value.png

-155 KB
Loading
118 KB
Loading

0 commit comments

Comments
 (0)