Questions tagged [dynamic-placeholder]

Anything related to dynamic placeholders, which includes the practice of having multiple renderings on a page that includes the same placeholder key, and trying to assign a specific rendering to one specific placeholder key from those renderings.

Filter by
Sorted by
Tagged with
2 votes
1 answer
62 views

Sitecore Jss with Next Js : How to create and use dynamic placeholders?

I am learning Sitecore JSS with Next Js as the front end framework. I am working in Sitecore first approach with Sitecore 10.1. I was trying to develop a three column component which will have a ...
  • 606
0 votes
0 answers
33 views

Placeholder: wrong renderings showing

in our JSS solution, I'm trying to insert a dynamic placeholder within our "main-placeholder", but it isn't displaying the allowed renderings I expect. It seems to be defaulting to a premade(...
  • 101
1 vote
1 answer
133 views

How to Find the unique rendering ID for a placeholder

We are currently upgrading a site from 8X to 10.2. We are trying to change the dynamic placeholders as per 10.2. But 8.2 dynamic placeholders are of format- /a/b_1/c_1, /a/b_1/c_2, /a/b_2/c_3. We ...
1 vote
1 answer
78 views

JSS Dynamic Placeholder - some components are missing

I have a component with a jss-form placeholder inside it. I added two renderings with different placeholder signatures to make it into a Dynamic Placeholder. These are as follows: FormA: /jss-main/...
  • 357
1 vote
1 answer
556 views

How do I create unique Sitecore JSS Dynamic Placeholders?

I have JSS Next.JS based component, I want to have 2 placeholders with the same key, but with a dynamic suffix. e.g. I need 2 equal columns. <div> <Placeholder name='jss-6' rendering={...
  • 3,666
2 votes
1 answer
321 views

Using Sitecore 10 Dynamic Placeholder via Content Editor

Before Sitecore had a native Dynamic Placeholder implementation, some of the implementations floating around would allow you to use a Dynamic Placeholder as a regular one. Specifically, you could ...
  • 545
0 votes
1 answer
268 views

Need sample Sitecore PowerShell script to add components to any SXA page dynamically

We are looking for a Sitecore PowerShell script using which we can assemble/add components directly to an SXA page. I am able to add an SXA page, then add a Container component (under the page ...
1 vote
3 answers
428 views

SXA Scriban Dynamic Placeholders

I am trying to render a dynamic placeholder with the Scriban as follows: {{ sc_placeholder 'section' }} and I would expect it to add a number to the key i.e. section-3, etc, but this is what I see as ...
2 votes
1 answer
136 views

Components not visible after upgrade to Sitecore 10.1

I have upgraded from Sitecore 8.2 to Sitecore 10.1. The layouts are rendered fine but none of the components are rendering. Seems like the placeholders are not working. Some of the components are ...
1 vote
1 answer
86 views

Nested dynamic placeholder conversion

I am trying to convert the non-Fortis module of Dynamic Placeholders into the new in 9.x Sitecore Dynamic Placeholders with the format of PlaceholderName-{Rendering guid}-0 using C#. I can easily ...
  • 21
1 vote
1 answer
177 views

Is there a way to use @Editable (Glass-mapper) and an anonymous model in an html input placeholder?

I have an input box and I would like to be able to have the placeholder text XP editor friendly. <input type="text" class="form-control" placeholder="@Editable(x => x....
0 votes
0 answers
116 views

Count added controls in Dynamic Placeholder

I have a dynamig plceholder in a web control (not mvc - don't ask). I'd like to identify the id assigned to that placeholder and the number of items added to it. Any ideas how to do this that's not a ...
0 votes
1 answer
107 views

Sitecore 9.0 Dynamic Placeholders in WebForms

I've got a Sitecore 9.0.2 site that will migrate from WebForms to MVC in the near future. First, we are componentizing the site and are building reusable components for a Two-Column container. The ...
0 votes
0 answers
206 views

Sitecore First Approach Can't see the component added to child placeholder

We are working on POC to test new page addition through SitecoreFirst workflow. Have added a sample template and JSON rendering to my Sitecore app from the content editor and created a route to host a ...
  • 41
1 vote
0 answers
64 views

Components do not save in specific dynamic placeholder

We are using sitecore 8.2 and recently added SXA sites. The existing site has a dynamic placeholder setting section-content*, which stopped working after we added SXA sites. When I looked for "...
6 votes
1 answer
855 views

SXA Dynamic Placeholders not working when creating multiple placeholders inside of a single rendering

I am currently working in Sitecore 9.1.1 with SXA 1.9. I am trying to build out a Rendering Variant that points to a datasource item with sub-items. These sub-items are child items to the datasource ...
2 votes
1 answer
682 views

Sitecore 9.1 dynamic placeholder

As part of the Sitecore upgrade from 8.2 to 9.1, I was upgrading dynamic placeholder keys as per Sitecore 9.1 format. For this, I have got below blog which was very helpful. https://www....
  • 886
2 votes
1 answer
279 views

How to determine what placeholder a sublayout is in during getRenderingDatasource pipeline?

I have some components on my page that contain dynamic placeholders with other sublayouts placed inside them. Currently all of the datasource items get generated in the ./Local Components folder. My ...
2 votes
1 answer
304 views

Sitecore 9 dynamic placeholders with compatible renderings

I have recently upgraded from SC 8.2 to 9.0.2 During the process, I had to rename the custom implementation for dynamicplaceholders to get it to work. Following the recommendation in https://www....
2 votes
1 answer
209 views

Using Placeholder Settings on default SXA Accordion

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 ...
  • 257
2 votes
2 answers
382 views

Did we lose row/column compatible renderings in Sitecore 9 dynamic placeholders?

I have two row rendering Row_1 <div> @Html.Sitecore().DynamicPlaceholder("section") </div> Row_2 <div> <div> @Html.Sitecore().DynamicPlaceholder("section") ...
0 votes
1 answer
946 views

Component inside a rendering variant

As we all know with SXA version 1.8 it is possible to insert components inside a rendering variant definition. Go to 6. - Components: https://doc.sitecore.com/developers/sxa/18/sitecore-experience-...
1 vote
0 answers
178 views

Fortis Dynamic Placeholder Not Working Outside of Experience Editor

I am trying to use Dynamic Placeholders with Sitecore 8.2. I am leveraging http://fortis.ws/fortis-collection/dynamic-placeholders/ When adding two renderings with a dynamic placeholder and adding a ...
  • 321
2 votes
2 answers
241 views

Detect renderings with invalid placeholder path?

Let's assume I have multiple renderings on a page, which are nested within each other- think "outer wrapper", with a "two column" inside, with a "button" inside of that. If I remove a parent ...
  • 1,462
0 votes
1 answer
180 views

DynamicPlaceholder get Parameter Templates Treelistvalues

I've created a Parameters Template with a Treelist Field and a Rendering which uses this Template. That works so far I can select multiple values. But Now I am using this rendering in a dynamic ...
  • 1,135
2 votes
0 answers
480 views

Max number of components in a Dynamic Placeholder with Sitecore 9

Is there a way to set a minimum and max amount of components that can be inserted into a Dynamic Placeholder in Sitecore 9? There is a count and maxCount for the amount of placeholders that can be set ...
6 votes
1 answer
353 views

Native Dynamic Placeholders overlap on the Experience Editor

I am using the Sitecore 9 default implementation of Dynamic Placeholders, and everything works fairly well. However, the one issue I've had is that the Dynamic Placeholders all overlap each other in ...
  • 145
8 votes
2 answers
7k views

What's difference between Static and Dynamic placeholder? How to choose one over another?

What is difference between Static and Dynamic placeholder? How to choose one over another?
3 votes
1 answer
622 views

What is the best way to create seed dynamically for Dynamic placeholder in Sitecore 9

I am creating a Materialize-UI based Grid (CMS authorable) to reduce no of fixed/static layouts in the application. CMS side - I've created Row & Column templates, One grid rendering & ...
7 votes
4 answers
959 views

Migration from Fortis DynamicPlaceholders to Sitecore 9 DynamicPlaceholders

I'm looking for migration solution from Fortis DynamicPlaceholders to Sitecore 9 DynamicPlaceholders. Fortis DynamicPlaceholder looks like: /main/content_container_ec526a7d-7838-4563-95a0-...
10 votes
1 answer
2k views

Dynamic Placeholders Not Working in Sitecore 9

I have this code nested down 3 deep in placeholders i.e. /MainFrame/ContentMain/ and then there is this Dynamic Placeholder I am wanting to use: <!-- Right Content --> <div class="col-sm-4"&...
2 votes
1 answer
411 views

Dynamic Placeholders Sorting

I have a tabs module that uses dynamic placeholders in order to add existing modules under each tab. The tabs module has a datasource item that is a folder for tab items. I loop through each tab item ...
  • 2,467
1 vote
0 answers
925 views

Dynamic Placeholder and Placeholder Settings

I created a project from the scratch and I had to add the Dynamic placeholders. But the only thing, I was unable to do, is to set for the Dynamic placeholders, some kind of placeholder Settings. Is ...
  • 1,015
5 votes
3 answers
2k views

Why placeholder settings when you can bypass them?

In sitecore documentation it says "If you do not create a placeholder settings item, you will still be able to bind components to placeholders using the Presentation Details dialog. ". So why would ...
3 votes
1 answer
3k views

Find Out If Dynamic Placeholder Has Renderings

Is there a way to find out if a dynamic placeholder has renderings in it? I'm currently using Fortis Collection's implementation of dynamic placeholders which was included in the project through nuget....
  • 2,467
2 votes
1 answer
6k views

ERROR One or more exceptions occurred while processing the subscribers to the 'item:saved' event

When trying to save changes to page layout in Experience Editor, errors appear and the page does not save. The details in the logs showed: System.Xml.XmlException Message[1]: Root element is ...
0 votes
1 answer
286 views

Components duplicating on front end

We have a strange issue where components seem to be duplicating on the front end (web DB) but everything looks correct in the experience editor. I have checked the presentation details on both shared/...
0 votes
1 answer
1k views

Sequential Key Dynamic Placeholder for MVC

I've constructed a dynamic placeholder using the top answer in this post: https://stackoverflow.com/questions/15134720/sitecore-dynamic-placeholders-with-mvc. This implementation uses the GUID of ...
  • 557
1 vote
1 answer
517 views

component is added twice in dynamic placeholder

I'm using the Integrated Dynamic Placeholders v1.2 and see the following 2 issues. Not sure if they are related. In experience editor when I add 2 column 6-6 component, it shows the placeholder only ...
  • 2,723
7 votes
2 answers
3k views

How to have nested placeholders when using dynamic placeholders

I'm using dynamic placeholders in the views, and there are nested views. When giving the placeholder path for a rendering (in Presentation > Details), the path should be - main-placeholder/sub-...
  • 2,723
0 votes
2 answers
495 views

Form Dynamic Placeholder use

I may have been out of Web Forms for two long. I need to implement dynamic placeholders for web forms. I am trying to use Fortis' version of it, but it has very little documentation around it. The MVC ...
3 votes
1 answer
1k views

Dynamic Placeholders marketplace module throws method definition error

This is my first time with Dynamic Placeholders and having a hard time getting started. I have installed the package from here https://marketplace.sitecore.net/en/Modules/I/...
  • 2,723
7 votes
1 answer
4k views

How to use Dynamic Placeholders

This is my first time with Dynamic Placeholders and I am unable to find any related tutorial. I have installed the nuget package mentioned in the Fortis Site https://www.nuget.org/packages/...
  • 2,723
3 votes
1 answer
6k views

Benefits of static vs dynamic binding of renderings [closed]

In Sitecore's documentation you encounter terms such as "static binding" and "dynamic binding" of presentation components such as renderings. What are the differences between static- and dynamic ...
  • 1,523
10 votes
1 answer
4k views

Component not showing as an option to add to a placeholder?

All my other components display as options to add when I click on my main placeholder in Experience Editor. However one component is not shown in the list and I can't see why. I've added it to the ...
6 votes
2 answers
1k views

Predicting the placeholder for a dynamic placeholder

I am using the Dynamic Placeholders from Fortis, but need to setup a page template where the Dynamic Placeholders contains renderings. I am setting the page template up, by setting layout detail on ...
  • 615