Wiki source code of Define Class Properties
Last modified by Eleni Cojocariu on 2026/10/02 09:11
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | To define a new [[Class Property (Data Type)>>xwiki:documentation.xs.dev.data-model.x-properties.WebHome]]: | ||
| 2 | |||
| 3 | 1. Click the [[dropdown on the "Edit" button>>||anchor="HWhyamInotseeingthedropdownonthe22Edit22button3F"]], and select "Class":((( | ||
| 4 | {{image reference="class-editing-selection.png" size="large" alt="The dropdwon of the Edit button with the Class editor option highlighted"/}} | ||
| 5 | ))) | ||
| 6 | 1. Add a new Property by introducing a name in the "name" field and by selecting the data type (Property).((( | ||
| 7 | {{image reference="add-property.png" size="extra" alt="The Add new property and Type sections with their fields"/}} | ||
| 8 | ))) | ||
| 9 | 1. Click on "Add" to attach it to the Class.((( | ||
| 10 | {{image reference="add-property-button.png" size="extra" alt="The Add button highlighted"/}} | ||
| 11 | ))) | ||
| 12 | 1. Save the modifications (or discard them) using the [[Common Edit Actions>>xwiki:documentation.xs.user.base.page.edit.common-edit-actions.WebHome]]. |