Dynamic Card Group

An auto-populated card grid that dynamically queries and displays content items as cards. Content is sourced via item queries or search-based criteria, eliminating manual card creation for listing pages.

The example below shows a Dynamic Card Group rendering sourced from a search block. The rendering queries content items and renders each result as a card inside a card group (no gutters between cards). The ComponentType parameter controls which card rendering is used for each result, and PageSize limits the number of cards displayed.

$name

$name

$name

$name

$name

$name

Usage Notes

  • The Dynamic Card Group uses the same DynamicContainer.cshtml view as other dynamic containers (Dynamic Components, Dynamic Carousel). The view iterates Model.Placeholders["dynamicsection"] and renders each child component using the rendering engine’s component factory.
  • The datasource should be a Search Block item (located under /Home/api/search/). The search block defines the query criteria that populate the cards.
  • The ComponentType parameter is a Droplink to a dictionary item that tells the rendering contents resolver which component rendering to use for each result item.
  • The PageSize parameter limits the number of results rendered. If empty, all results from the search block are shown.
  • ExplicitItems allows manually specifying content items to include in the card group. AppendItems controls whether explicit items are appended to or replace search results.
  • AdministrativeTags can be used to filter results by tag taxonomy.
  • Cards are rendered inside a Bootstrap card group container (no gutters between cards), unlike the Dynamic Components rendering which uses a grid section with customizable gutters.

Control Properties

Standard Values / Defaults

ParameterDefault Value
ComponentType(empty)
PageSize(empty — shows all results)
AdministrativeTags(empty)
ExplicitItems(empty)
AppendItems(unchecked)

Rendering Parameters

ParameterTypeDescription
ComponentTypeDroplink (dictionary)Selects which card/component rendering is used to render each result item from the search block.
PageSizeIntegerLimits the number of cards displayed. Leave empty to show all results.
AdministrativeTagsMultilistFilters results by administrative tag taxonomy items.
ExplicitItemsMultilistManually specified content items to include in the card group.
AppendItemsCheckboxWhen checked, explicit items are appended to search results rather than replacing them.

Template Properties

The Dynamic Card Group rendering does not use a traditional datasource template with content fields. Instead, the datasource is a Search Block item that defines the query criteria. The search block’s template fields (query path, template filter, sort order, etc.) determine which content items are returned and rendered as cards.

The actual card content fields depend on the rendering specified by the ComponentType parameter. Each result item’s fields are mapped by the selected card rendering’s model.