# RichTileItemRenderer
Component RichTileItemRenderer
extends the TileListItemRenderer
component to place extra components on the tile of a record.
Find more information about configuring the rich tile`s metadata icon-list here.
# Properties
HTMLElement
Element tag:
cm4ap-lists-rich_tile_item_renderer
# Parameter
Parameters set by the ListItemRendererFactory (opens new window):
Name | Type | Description |
---|---|---|
actionIcons | array of string | Enter the keys of the icons to be displayed on the tile. For each key, the frontend requires a plugin. Currently, there are two plugins for the comment and for favourites, corresponding to keys comment and favoriteObj . |
colorRatingEnabled | boolean default: false | Defines whether the ColorMarking component is displayed on the tile. |
starRatingEnabled | boolean default: false | Defines whether the StarRating component is displayed on the tile. |
mainFieldEditable | boolean default: true | Determines whether a particular field on the tile is editable. |
mainField | string default and fallback: friendlyname | Field name to be edited on the tile |
mainFieldEditFeaturePermission | string | Name of the feature permission that determines whether the field on the tile is editable |
# Example
<actor id="itemRendererFactory" type="components.lists.ListItemRendererFactory">
<parameter>
<entry class="string" key="itemRenderer">cm4ap-lists-rich_tile_item_renderer</entry>
<entry class="map" key="itemRendererProperties">
<entry class="array" key="actionIcons">
<value>comment</value>
<value>test1</value>
<value>test2</value>
</entry>
<entry class="boolean" key="colorRatingEnabled">true</entry>
<entry class="boolean" key="starRatingEnabled">true</entry>
</entry>
</parameter>
</actor>