1

Did someone manage to use proper placeholder settings for these sxa composite components? I am asking because of the accordion, I want to limit the usage to specific components that can be placed into an accordion item. The placeholders look like "/main/section-content-1-2" There is a chapter about known limitations for dynamic placeholders, that clearly states that placeholder settings will only work with the initial key:

https://doc.sitecore.com/developers/90/sitecore-experience-management/en/dynamic-placeholders.html

So did someone already found a nice workaround for that?

Regards

1

The article you've mentioned is for platform Dynamic Placeholders. SXA is not using them, we have our own version.

Try creating placeholder settings item with the following key: section-content-* (or section-content*). The * is to make a placeholder dynamic and guarantee a uniqueness to the placeholder key across different renderings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.