How to configure dynamic placeholder in your headless JSS app

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 2

  • @techshare5778
    @techshare5778  7 месяцев назад

    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-"

  • @pl1561
    @pl1561 7 месяцев назад +1

    Nice explanation 😊