Is there any way for me to add placeholders programatically inside the SXA rendering variant. I have tried using the
* at the end of the name of placeholders but I keep getting some weird errors and the whole site just crashes.
Here is what I mean by this:
const string key = "carousel-1-*" @Html.Sitecore().Placeholder(key)
I keep getting erros when I use this. Also, the model is