Note: I used JSS version 21.6. Any earlier version might not work as above. JSS Version: 21.1.3 I was trying to play with Dynamic placeholder and found this: when i use a key say "news-container-{*}" doesn't render the placeholder when i use "newscontainer-{*}" does work. JSS Version: 21.1.6 I did not need to use the -{*} part at all. The dynamic guid is added automatically once i add a rendering to a placeholder. So "news-container" or "newscontainer" both found working. When we use partial design Rules are different. The placeholder should be controlled under "Presentation/Placeholder Settiings". The key must be the signature of the partial design with a prefix of "sxa-"
Note: I used JSS version 21.6. Any earlier version might not work as above.
JSS Version: 21.1.3
I was trying to play with Dynamic placeholder and found this:
when i use a key say "news-container-{*}" doesn't render the placeholder
when i use "newscontainer-{*}" does work.
JSS Version: 21.1.6
I did not need to use the -{*} part at all. The dynamic guid is added automatically once i add a rendering to a placeholder.
So "news-container" or "newscontainer" both found working.
When we use partial design
Rules are different. The placeholder should be controlled under "Presentation/Placeholder Settiings". The key must be the signature of the partial design with a prefix of "sxa-"
Nice explanation 😊