Adapt data retrieval for a list

In the list, a view defined is defined as a data source. This view must be customized for the new attribute to be included.

Location

XML file in the xml folder

Procedure

  1. Insert a new <viewColumn> element as a child element in the <viewObject> element. The view object defines the object type of the view columns.
  2. Assign a unique name to the id property. The attributeType property references an attribute of the associated object type. If you do not only want to filter, but also output the column, you must set the isSelectColumn property to true.

Documents

view_[module].xml, views.xsd

Example

ModifaObject_AddSimpleAttribute

\WEB-INF\config\custom\xml\custom.xml: Modify View