Tailwind Logo

Configuring XM Cloud's Component Wizard - Part 4 Dynamic placeholders

XM CloudHeadless SXA

Published: 2024-10-08

In this article, we will check the last item in the SXA Component Wizard's Behevior, the Dynamic Placeholders item.

xmcsxacompwiz24.png

Check Rendering settings

If this check is made, the difference is that IsRenderingsWithDynamicPlaceholders is added to Other Properties in the Experience Accelerator settings and is set to true.

xmcsxacompwiz25.png

What role does this IsRenderingsWithDynamicPlaceholders play? It is used when a component contains multiple placeholders or when placeholder names are generated dynamically.

Normally, placeholders would use fixed names, but dynamic placeholders dynamically number and assign non-overlapping placeholders.

If we place the two components we have created and check the two components, we see the following.

xmcsxacompwiz26.gif

This IsRenderingsWithDynamicPlaceholders must be enabled when actually placing components on the same page, each referencing a separate data source.

  • Media
  • Link List
  • Promo
  • Rich Text
  • Column Splitter
  • Container
  • Row Splitter

You can see that this item is enabled except for Page Content and Navigation.

Summary

This was a short explanation, but nevertheless important, of the behavior of IsRenderingsWithDynamicPlaceholders. When creating components, be aware of whether or not this feature should be enabled. Types with item data may be considered essential.

Related Page

Tags