You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/use-variant-feature-flags.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,27 +53,23 @@ Variant feature flags have two variant defaults, **DefaultWhenEnabled** and **De
53
53
54
54
The **kill switch** is used to stop users from allocating. Usually it is used when one or more of the variants have a problem- whether it's a bug, regression, or bad performance. To use the kill switch, set the **Enabled** field of the variant flag to false. Regardless of which percentiles users were a part of, all users will now be given the **DefaultWhenDisabled** variant.
55
55
56
-
## Create a variant feature flag
56
+
## Build an app with a variant feature flag
57
57
58
-
Create a variant feature flag called *Greeting* with no label and three variants, *None*, *Simple*, and *Long*. Creating variant flags is described in the [Feature Flag quickstart](./manage-feature-flags.md#create-a-variant-feature-flag).
58
+
In this tutorial, you will create a web app named _Quote of the Day_. When the app is loaded, it displays a quote. Users can interact with the heart button to like it. To improve user engagement, you want to explore whether a personalized greeting message will increase the number of users who like the quote. Users who receive the _None_ variant will see no greeting. Users who receive the _Simple_ variant will get a simple greeting message. Users who receive the _Long_ variant will get a slightly longer greeting.
59
+
60
+
1. Create a variant feature flag called *Greeting* with no label in your App Configuration store. It includes three variants: *None*, *Simple*, and *Long*, each corresponding to different greeting messages. Refer to the following table for their configuration values and allocation settings. For more information on how to add a variant feature flag, see [Create a variant feature flag](./manage-feature-flags.md#create-a-variant-feature-flag).
59
61
60
62
| Variant Name | Variant Configuration Value | Allocation|
61
63
|---|---|---|
62
64
| None *(Default)*| null | 50% |
63
65
| Simple | "Hello!" | 25% |
64
66
| Long | "I hope this makes your day!" | 25% |
65
67
66
-
## Set up an app to use the variants
67
-
68
-
In this tutorial, you will create a web app named _Quote of the Day_. When the app is loaded, it displays a quote. Users can interact with the heart button to like it. To improve user engagement, you want to explore whether a personalized greeting message will increase the number of users who like the quote. Users who receive the _None_ variant will see no greeting. Users who receive the _Simple_ variant will get a simple greeting message. Users who receive the _Long_ variant will get a slightly longer greeting.
68
+
2. Continue to the following instructions to use the variant feature flag in your application for the language or platform you are using.
0 commit comments