1. Component library

ItemRenderer

Version:

The ItemRenderer control renders a single Sitecore item. The item must have a layout.

The ItemRenderer control is a server-side control, so you cannot data bind any of the properties of the control, and you cannot reference the control in JavaScript in the client. If you have added SPEAK components to the layout, however, you have access to these components in the exact same way as if you had added them directly to the page.

Properties

NameDescriptionDefault
Behavior
DataSourceSpecify the item that the ItemRenderer control renders. The item must have a layout.
ParametersText string with name value pairs. An alternative method for assigning property values.
PlaceholderKeySitecore renders the control in the placeholder that has this ID.
UsePlaceholdersDetermines if the rendering uses placeholders or renders the items as a list.

Configuration

You can create a configuration item for an ItemRenderer control by creating an item based on the ItemRenderer Parameters template.

The configuration item has this field:

  • UsePlaceholders
If you have suggestions for improving this article, let us know!