Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
0 votes
1 answer
61 views

Dynamic placeholder in EE hides other existing placeholders

I have created a component that all it does is that it provides a dynamic placeholder to hold some other components, so it acts as a wrapper component. Its variant has a scriban template that only ...
AME's user avatar
  • 679
0 votes
0 answers
101 views

Dynamic Placeholders no longer working in EE after upgrade

We recently upgraded to Sitecore 10.1.3, but our site is still primarily using webforms layouts. This issue is with the webforms dynamic placeholders. Our regular placeholders work fine in EE - they ...
Erica Stockwell-Alpert's user avatar
2 votes
1 answer
792 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 ...
Dheeraj p's user avatar
  • 699
3 votes
1 answer
334 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 ...
Sylesh JL's user avatar
  • 179
1 vote
1 answer
191 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/...
Lala's user avatar
  • 397
2 votes
1 answer
996 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={...
Anton's user avatar
  • 3,831
2 votes
1 answer
554 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 ...
Alex's user avatar
  • 545
0 votes
1 answer
560 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 ...
lalit S. joshi's user avatar
1 vote
3 answers
786 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 ...
Andrey Bobrov's user avatar
2 votes
1 answer
190 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 ...
Owais Ahmed's user avatar
1 vote
1 answer
109 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 ...
KrisB's user avatar
  • 21
1 vote
1 answer
268 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....
JockeyJohnson's user avatar
0 votes
0 answers
155 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 ...
Tony Kiernan's user avatar
0 votes
1 answer
130 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 ...
Chet Cheeto's user avatar
0 votes
0 answers
244 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 ...
Rishi's user avatar
  • 51
1 vote
0 answers
90 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 "...
user5772's user avatar
6 votes
1 answer
1k 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 ...
BlakeKnox's user avatar
2 votes
1 answer
757 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....
S.Kazmi's user avatar
  • 906
2 votes
1 answer
344 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 ...
Erica Stockwell-Alpert's user avatar
2 votes
1 answer
339 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....
rpatwari's user avatar
2 votes
1 answer
252 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 ...
Bgl86's user avatar
  • 267
2 votes
2 answers
392 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") ...
Chris Auer's user avatar
  • 13.1k
0 votes
1 answer
1k 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-...
Emanuel Popescu's user avatar
1 vote
0 answers
190 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 ...
Colema18's user avatar
  • 321
2 votes
2 answers
265 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 ...
jdylanmc's user avatar
  • 1,492
0 votes
1 answer
209 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 ...
squadwuschel's user avatar
  • 1,165
2 votes
0 answers
553 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 ...
Toby Gutierrez's user avatar
6 votes
1 answer
402 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 ...
Xalor90's user avatar
  • 145
8 votes
2 answers
8k 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?
Kuldeep Sharma's user avatar
3 votes
1 answer
691 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 & ...
Kuldeep Sharma's user avatar
7 votes
4 answers
998 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-...
Andrei Paliakou's user avatar
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"&...
Toby Gutierrez's user avatar
2 votes
1 answer
466 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 ...
Teeknow's user avatar
  • 2,477
1 vote
0 answers
941 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 ...
Jose Neto's user avatar
  • 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 ...
Blue Clouds's user avatar
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....
Teeknow's user avatar
  • 2,477
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 ...
Adam Seabridge's user avatar
0 votes
1 answer
401 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/...
David Masters's user avatar
0 votes
1 answer
2k 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 ...
c-bro's user avatar
  • 567
1 vote
1 answer
608 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 ...
sukesh's user avatar
  • 3,162
7 votes
2 answers
4k 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-...
sukesh's user avatar
  • 3,162
0 votes
2 answers
519 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 ...
Chris Auer's user avatar
  • 13.1k
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/...
sukesh's user avatar
  • 3,162
7 votes
1 answer
5k 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/...
sukesh's user avatar
  • 3,162
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 ...
Søren Engel's user avatar
  • 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 ...
Adam Seabridge's user avatar
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 ...
AndreasPK's user avatar
  • 615