Display Object Infos Macro

Last modified by Djebloun Sidali on 2026/02/26 15:42

cogDisplay all or a selected list of properties of an object
TypeXAR
Category
Developed by

Djebloun Sidali

Rating
0 Votes
LicenseGNU 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 :

VOVMode.png

Edit mode :

VOEMode.png

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"}}
ParamRequiredDefault ValueDescription
docFullNameYN/AThe fullname of the document of the object to display
classNameYN/AThe Name of the Class of the object to display
propertiesNN/AThe list of the properties names to display, separated by the comma 

Get Connected