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: en/includes/guides/users/attributes/manage-attributes.md
+19-6Lines changed: 19 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,7 @@ To configure properties of user attributes:
189
189
!!! Danger "Warning"
190
190
These settings only control how the attributes behave in WSO2-managed UIs (Administrator Console, End-User Profile (i.e. My Account), Self-Registration). They **do not** affect backend or API validation.
191
191
192
-
If you create a custom end-user profile UI, you can reference these configurations to apply the same rules (Display, Required, Read-only) in your own forms.
192
+
If you create a custom end-user profile UI, you can reference these configurations to apply the same rules (Display, Required, Read-only) in your own forms.
193
193
194
194
!!! note
195
195
Using the attribute configurations, you can also configure which attributes are displayed in the user creation form when
@@ -230,7 +230,7 @@ To configure properties of user attributes:
230
230
</tr>
231
231
<tr>
232
232
<td><b>Data Type</b></td>
233
-
<td>Refers to the kind of value it holds, such as a string, boolean or date-time.</td>
233
+
<td>Refers to the kind of value it holds, such as a string, boolean or date.</td>
234
234
</tr>
235
235
<tr>
236
236
<td><b>Multi Valued</b></td>
@@ -272,8 +272,10 @@ To configure properties of user attributes:
272
272
-**Integer** Whole numbers (for example `1`, `42`, `-7`).
273
273
-**Decimal** Numbers that include decimals (for example `3.14`, `-0.5`).
274
274
-**Boolean** A true or false value.
275
-
-**DateTime** A date and time value.
276
275
-**Object** A structured object that can include multiple sub-attributes.
276
+
-**Date** Calendar date without time. Use ISO 8601 `YYYY-MM-DD` (for example `2025-10-01`).
277
+
-**DateTime** Date and time with timezone. Use ISO 8601 `YYYY-MM-DDTHH:mm:ssZ` or offset `YYYY-MM-DDTHH:mm:ss±HH:mm` (for example `2025-10-01T14:30:00+05:30`).
278
+
-**Epoch** Unix time since 1970-01-01 UTC. Use seconds or milliseconds as integers (for example `1730399400` or `1730399400000`).
277
279
278
280
Options Data Type
279
281
@@ -327,12 +329,23 @@ To configure properties of user attributes:
327
329
<td>Text Input, Number Picker</td>
328
330
</tr>
329
331
<tr>
330
-
<td><b>DateTime</b></td>
331
-
<td>Text Input, Date Picker</td>
332
+
<td><b>Date</b></td>
333
+
<td>Text Input, Date Picker. Store dates in ISO 8601 `YYYY-MM-DD`. If the existing value uses another format, render a Text Input.</td>
332
334
</tr>
333
335
</tbody>
334
336
</table>
335
337
338
+
Once a data type and input format are configured for an attribute, it will be rendered in the corresponding format across all relevant UIs — including the **Console user profile**, **Console user creation wizard**, and the **Self-service portal user profile**. For example, if **Options** is selected with the **Dropdown** input format, the attribute will appear as a dropdown field in each of these UIs.
@@ -365,7 +378,7 @@ To configure properties of user attributes:
365
378
!!! Danger "Warning"
366
379
These settings only control how the attributes behave in WSO2-managed UIs (Administrator Console, End-User Profile (i.e. My Account), Self-Registration). They **do not** affect backend or API validation.
367
380
368
-
If you create a custom end-user profile UI, you can reference these configurations to apply the same rules (Display, Required, Read-only) in your own forms.
381
+
If you create a custom end-user profile UI, you can reference these configurations to apply the same rules (Display, Required, Read-only) in your own forms.
369
382
370
383
!!! note
371
384
Using the attribute configurations, you can also configure which attributes are displayed in the user creation form when
0 commit comments