Display Object Infos Macro
Last modified by Djebloun Sidali on 2026/02/26 15:42
| Display all or a selected list of properties of an object |
| Type | XAR |
| Category | |
| Developed by | |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
Table of contents
Description
Wiki macros to display all or a selected list of properties of an object
View mode :

Edit mode :

Usage
Example 1 : Display only the first_name, last_name and email properties for the Admin user
{{DisplayObjectInfos docFullName="XWiki.Admin" className="XWiki.XWikiUsers" properties="first_name,last_name,email" }}Example 2 : Display all the properties for the Admin user
{{DisplayObjectInfos docFullName="XWiki.Admin" className="XWiki.XWikiUsers"}}| Param | Required | Default Value | Description |
|---|---|---|---|
| docFullName | Y | N/A | The fullname of the document of the object to display |
| className | Y | N/A | The Name of the Class of the object to display |
| properties | N | N/A | The list of the properties names to display, separated by the comma |