Questions tagged [rendering-parameters]
The rendering-parameters tag has no usage guidance.
7
questions
0
votes
0answers
14 views
Passing rendering parameters to static renderings [duplicate]
As I don't want the editors to remove the header/footer of my site, I've baked the rendering statically into the layout: @Html.Sitecore().Rendering(SitecoreIds.Renderings.Header.ToString(), new {...
0
votes
1answer
94 views
Model.VariantFields return null when creating custom SXA rendering with variants
I created custom SXA rendering with variants but Model.VariantFields return null.
my controller
public class NotificationController : VariantsController
{
protected NotificationRepo ...
1
vote
1answer
79 views
SXA Search box - add SXA token support to Rendering parameter for SearchPageResults
We have an SXA Search box defined on a partial design in our Master Shared site. The problem is we need to have the SearchPageResults rendering parameter field use a query to pull the search results ...
0
votes
2answers
79 views
Not able to use parameter with dynamic placeholder
I am going through Sitecore training and currently stuck on module working with component parameters
Here I am trying to change the number of spaces by passing through a parameter.
Here is my code ...
2
votes
1answer
235 views
Get sxa component rendering parameter into variant data-attribute field
I'm currently trying to get rendering parameters from a component into a variant data-attribute, is this possible ootb in sitecore 9.3 ?
I heard about Scriban but i'm still new to that.
For example:
...
2
votes
2answers
50 views
Modifying renderings programatically - can update the Shared Layout and Final Layout together but can't seem to only update the Final Layout?
I'm working on a script to modify rendering parameters. I noticed that I seem to only be able to modify the Shared Layout and not the Final Layout. I can retrieve the Final Layout field and work based ...
4
votes
2answers
945 views
How can I edit rendering parameters programatically?
I have a rendering that is used on pages all over my site, and I had to add a new field to the Rendering Parameters it uses. I now need to update this field on a huge number of renderings, but only on ...