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:

ConfigureProperties.png

ParameterInput formDescriptionSupported Data Types
DisabledCheckbox all
NameTextArea all
Pretty NameTextArea all
HintTextArea all
Custom DisplayTextArea all
Validation Regular ExpressionTextArea all
Validation MessageTextArea all
SizeTextAreaThe size of the corresponding form element when editing.All except for Computed Field and Boolean
Use SuggestCheckbox  All except for Computed Field, Date, Boolean, Number
Multiple SelectCheckbox Static List, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List
Allow Large StringsCheckbox Static List, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List
RowsTextArea TextArea
EditorDropdown (---, 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 TypeDropdown (---, Wiki Syntax, Velocity Code, Plain Text, VelocityWiki)Indicated what kind of content this field contains (wiki, plain text, etc.).TextArea
RestrictedCheckboxIndicates if the content of the property should be executed in a restricted context.TextArea
Display Form TypeDropdown (---, radio, checkbox, select) Boolean
Display TypeDropdown (---, 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
SortDropdown (---, none, id, value) Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List
Free textDropdown (---, discouraged, forbidden, allowed) Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List
Relational StorageCheckbox  Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List
CacheCheckbox  Static List, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List
Default valueTextArea Static List, Boolean, List of Groups, Database Tree, Access Right Levels, Page, List of Users, List of Groups, Database List
Hibernate QueryTextArea 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
ValuesTextAreaSeparated by '|'; Example: value1=Text displayed for value1|value2=Text displayed for value2|value3|value4Static List
Number TypeDropdown (---, integer, long, float, double) Number
Uses ListCheckbox List of Groups, List of Users
Storage TypeDropdown (---, Hash, Clear) Password
Encryption/hash algorithmTextArea Password
Empty is todayCheckbox Date
Use Date PickerCheckbox Date
Date FormatTextAreaThe default value is dd/MM/yyyy HH:mm:ssDate 
ScriptTextArea Computed Field

Get Connected