Skip to content

Commit e456232

Browse files
Update Custom Properties Page (#861)
* Update Custom Properties Page * Fix Grammar Co-authored-by: Cobi <druxerman@gmail.com> --------- Co-authored-by: Cobi <druxerman@gmail.com>
1 parent 78e2133 commit e456232

File tree

7 files changed

+28
-15
lines changed

7 files changed

+28
-15
lines changed

docs/platform/feature-flags/targeting/custom-properties.md

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -99,39 +99,52 @@ First, select your property to use it like any other targeting definition as out
9999

100100
Then, finish your Targeting Rule by filling out the comparator and the value fields.
101101

102-
There are no limits to the number of Properties that can be used to define a single Targeting Rule! Use as many custom properties as necessary to accurately target your users for your features.
102+
There are no limits to the number of Properties that can be used to define a single Targeting Rule! Use as many custom properties as necessary to accurately target your users for your Features.
103103

104104
![property type open](/feb-2022-custom-properties-in-targeting-rules.png)
105105

106106
## SDK Usage
107107

108108
See the [Identify](/sdk/features#identifying-a-user-or-setting-properties) Documentation for the usage of properties within each SDK.
109109

110-
## Managing / Deleting Custom Properties
110+
## Managing Custom Properties
111111

112-
To rename, modify, or edit the Custom Properties in a project, navigate to the Settings page and click on "Custom Properties"
112+
To manage the Custom Properties in a project, navigate to the Settings page and click on "Custom Properties". This will display a list of Custom Properties that you've created for the project where you can filter by project or custom property type.
113113

114-
![image of custom properties settings](/nov-2022-custom-properties-settings.png)
114+
![image of custom properties settings](/custom-properties-settings.png)
115115

116-
In this section, you will be able to see all custom properties in your organization, with the ability to filter by type and by project.
117-
118-
To make edits to a Custom Property, click "View Info" and you will be able to modify the name, keys, and description of a Custom Property
119-
120-
![image of custom properties info page](/nov-2022-custom-properties-info.png)
116+
To make edits to a Custom Property, click into the Custom Property or "View Info". You can edit the Custom Property's attributes, setup a schema, gain insight into where it's being used, and delete the Custom Property on this page.
121117

118+
![image of custom properties info page](/custom-properties-manage-page.png)
122119

123120
:::caution
124121

125122
If the **Property Key** is changed, any Identify calls or user objects which are using the previous key will no longer apply to this custom property.
126123

124+
If a Custom Property is **deleted** while in use in a Targeting Rule, the targeting rule will continue to function as normal.
125+
This custom property will no longer be selectable for new targeting rule definitions.
126+
127127
:::
128128

129-
:::caution
129+
### Custom Property Schemas
130130

131-
If a Custom Property is **Deleted** while in use in a Targeting Rule, the targeting rule will continue to function as normal.
132-
This custom property will no longer be selectable for new targeting rule definitions.
131+
Custom Property Schemas let you define allowable values for your Custom Properties when using them in Targeting Rules. Schemas ensure that only values that are acceptable are added to Targeting Rules, minimizing the risk of setting up a Feature or a Targeting Rule incorrectly.
133132

134-
:::
133+
![image of custom property schemas](/custom-properties-schema.png)
134+
135+
Custom Properties may only define Schemas as an `Enum` type (String or Number). Click on Add Value to set acceptables values for your Property. The "Label" is your readable name for the property while the "Value" is the value that you'll have to send via the SDK or API. You may allow users to add Additional Values when editing Targeting Rules, or limit them to only the values you've setup in the Schema.
136+
137+
Once Schemas are setup for your Custom Property, you'll be able to select it's values using a dropdown menu populated with your schema.
138+
139+
![image of selecting a custom property value](/custom-properties-targeting-schema.png)
140+
141+
### Feature and Audience Usage
142+
143+
Feature Usage and Audience Usage displays where the Custom Property is actively being used. Adding a Custom Property in an Audience is very similar to using it within a Feature, you can find out how to create an Audience in our [Audiences](/platform/feature-flags/targeting/audiences) page.
144+
145+
Click on "View On Feature" or "View on Audience" to be brought to the Feature or Audience that you've selected.
146+
147+
![image of custom property usages](/custom-properties-usages.png)
135148

136149
## Common Use Cases for Custom Properties
137150

@@ -141,6 +154,6 @@ You can target users in numerous ways using Custom Properties. The following lis
141154

142155
**Geographic Location**. DevCycle has a built-in “Country” property, but you can target other forms of location by creating Custom Properties such as `storeLocation` `province` `state` `city` `school` etc.
143156

144-
**Special Users**. Sometimes organizations want to release a feature to special users only, such as users with a paid membership, those with a free trial, or those who have made large contributions to the company. In this case, some property name suggestions are `accountType` `pricingPlan` `isSubscriber` `isTrialUser` `amountContributed` etc.
157+
**Special Users**. Sometimes organizations want to release a Feature to special users only, such as users with a paid membership, those with a free trial, or those who have made large contributions to the company. In this case, some property name suggestions are `accountType` `pricingPlan` `isSubscriber` `isTrialUser` `amountContributed` etc.
145158

146159
**User Behaviour or Preferences.** You can experiment on users based on their behaviour or preferences. Some examples include `numberOfPageVisits` `gaveConsent` `preferredColor` etc.

docs/sdk/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ to represent the user.
248248

249249
User data can also contain "custom data", which is a key-value map of any arbitrary data you want to use for targeting.
250250
The provided data can be used in Targeting Rules by creating Custom Properties in the DevCycle dashboard. Learn more
251-
about [Custom Property Targeting](/platform/feature-flags/targeting/custom-properties)
251+
about [Custom Property Targeting](/platform/feature-flags/targeting/custom-properties).
252252

253253
When setting custom properties you have a choice between keeping that data completely private or allowing
254254
for the data to be logged back to DevCycle's events database. Both options allow for the same targeting capabilities,
343 KB
Loading
339 KB
Loading
327 KB
Loading
266 KB
Loading
206 KB
Loading

0 commit comments

Comments
 (0)