XPropertiesMetadata
Version 2.6 by superadmin on 2025/10/21 11:05
Content
Reference
When defining Class Properties and selecting the data type for the XWiki Property, then you have the possibility to configure the Property Parameters:

| Parameter | Input form | Description | Supported Data Types |
|---|---|---|---|
| Disabled | Checkbox | all | |
| Name | TextArea | all | |
| Pretty Name | TextArea | all | |
| Hint | TextArea | all | |
| Custom Display | TextArea | all | |
| Validation Regular Expression | TextArea | all | |
| Validation Message | TextArea | all | |
| Size | TextArea | The size of the corresponding form element when editing. | All except for Computed Field and Boolean |
| Use Suggest | Checkbox | All except for Computed Field, Date, Boolean, Number | |
| Multiple Select | Checkbox | Static List, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List | |
| Allow Large Strings | Checkbox | Static List, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List | |
| Rows | TextArea | TextArea | |
| Editor | Dropdown (---, Wiki, Plain Text, WYSIWYG) | Indicated which editor should be used to manipulate the content of the property. This setting overwrites the preferred editor configured in the user profile. | TextArea |
| Content Type | Dropdown (---, Wiki Syntax, Velocity Code, Plain Text, VelocityWiki) | Indicated what kind of content this field contains (wiki, plain text, etc.). | TextArea |
| Restricted | Checkbox | Indicates if the content of the property should be executed in a restricted context. | TextArea |
| Display Form Type | Dropdown (---, radio, checkbox, select) | Boolean | |
| Display Type | Dropdown (---, input, select, radio, checkbox) | Static List, Boolean, Access Right Levels, Page, List of Users, List of Groups, Database List | |
| Multiselect separators (for editing) | Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List | ||
| Join separator (for display) | Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List | ||
| Sort | Dropdown (---, none, id, value) | Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List | |
| Free text | Dropdown (---, discouraged, forbidden, allowed) | Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List | |
| Relational Storage | Checkbox | Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List | |
| Cache | Checkbox | Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List | |
| Default value | TextArea | Static List, Boolean, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List | |
| Hibernate Query | TextArea | Database Tree, Page, Database List | |
| XWiki Class Name | Database Tree, Page, Database List | ||
| Id Field Name | Database Tree, Page, Database List | ||
| Value Field Name | Database Tree, Page, Database List | ||
| Parent Field Name | Database Tree | ||
| Values | TextArea | Separated by '|'; Example: value1=Text displayed for value1|value2=Text displayed for value2|value3|value4 | Static List |
| Number Type | Dropdown (---, integer, long, float, double) | Number | |
| Uses List | Checkbox | List of Groups, List of Users | |
| Storage Type | Dropdown (---, Hash, Clear) | Password | |
| Encryption/hash algorithm | TextArea | Password | |
| Empty is today | Checkbox | Date | |
| Use Date Picker | Checkbox | Date | |
| Date Format | TextArea | The default value is dd/MM/yyyy HH:mm:ss | Date |
| Script | TextArea | Computed Field |