Questions tagged [placeholders]

For questions related to Sitecore placeholders, including dynamic placeholders and non-dynamic placeholders

Filter by
Sorted by
Tagged with
0 votes
0 answers
60 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
0 votes
0 answers
29 views

Adding custom script path after assetlinks in Sxa layout file

I have a situation where I need to add a custom script path after script paths appearing from assetlinks.Scripts in the Sxa Layout file. Tried using placeholder after for loop, but did not work out ...
Siddhi Kamat's user avatar
6 votes
4 answers
974 views

SXA headless with (partial) design: placeholder not found

I am using Sitecore 10.3 with SXA and JSS. For the head setup I used a post from Dan Cruickshank and that worked fine. I did get a nice blank homepage and no errors. I created 3 partial designs and ...
Gatogordo's user avatar
  • 20k
0 votes
1 answer
34 views

FXM - How to delete placeholders

I no longer need these placeholders. How can I delete them? While adding the second placeholder, mistakenly, I selected Replace which is overlapping some text and now I do not see an option to delete....
sukesh's user avatar
  • 3,053
0 votes
1 answer
68 views

What limits rendering in SXA Grid Placeholders

We have an issue between our Prod and UAT environments when it comes to adding renderings from the Toolbox into the grid placeholders. In our Prod environment, the placeholders that are generated by ...
James's user avatar
  • 43
0 votes
1 answer
767 views

Placeholder within Component not showing in JSS

I am new to Sitecore JSS development. I am really struggling with how placeholders are working in JSS. I am using VUE.JS for my development. I have three root level placeholders in the layout.vue. I ...
Arun Kumar's user avatar
0 votes
1 answer
116 views

How to add controller rendering in placeholder in Sitecore SXA?

Is there any way to add the custom controller rendering in a placeholder in SXA? Whenever I add the controller rendering inside the placeholder I keep getting errors for example Object not set to ...
Samke11's user avatar
  • 359
1 vote
1 answer
508 views

NullReferenceException for placeholders in Experience Editor

I am facing an issue with Experience Editor. Each placeholder is throwing null reference exception. e.g. @Html.Sitecore().Placeholder("body-top") I tried removing this placeholder but it ...
Imad's user avatar
  • 235
2 votes
1 answer
173 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
0 votes
1 answer
184 views

Specify default rendering for placeholder in partial design

We have a partial design with an empty placeholder that is being pre-filled with one of its allowed renderings upon page creation. It is not clear where exactly it is being specified for this ...
Rob Connolly's user avatar
1 vote
1 answer
245 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
2 votes
1 answer
698 views

How to set up a placeholder inside of a component in JSS?

I have a React component that can be placed inside of the default jss-main placeholder. I would like this component to have a placeholder contained within it, but the placeholder does not appear in ...
Marcel Gruber's user avatar
0 votes
0 answers
452 views

Experience editor does not show the empty placeholder before saving/refreshing the page

We are using Sitecore 9.3 in our application and facing issue in experience editor. When we add any component in empty placeholder in experience editor and then remove the component, we do not see the ...
Dheeraj p's user avatar
  • 657
0 votes
1 answer
282 views

Add here buttons in Experience Editor don't match placeholder

I'm having some oddball things happening with my Sitecore environment's experience editor. We have a pretty basic layout - one single placeholder named 'content', where we can add multiple components/...
Qorey's user avatar
  • 71
1 vote
1 answer
195 views

Editors cannot edit certain aspects of presentation details, such as a component's datasource or placeholder

I am working on an issue facing some Sitecore editors. These editors can edit items normally once it is locked to them but cannot edit certain aspects of presentation details of those items. If the ...
Carlos Rodriguez's user avatar
2 votes
1 answer
180 views

CD reporting placeholder was not found in the "Home" item

Sitecore 8.2 Update 3 There were a lot of broken links so I used the admin tool to remove them, but I am still getting tons of "placeholder was not found in the 'Home' item" messages in the log. I ...
Michael's user avatar
  • 520
6 votes
1 answer
991 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
1 vote
0 answers
683 views

Sitecore error "Server cannot modify cookies after HTTP headers have been sent."

I am trying to Insert a new form. When I am trying to select a placeholder for the form, following error is showing : when I had installed the WFFM, I went to "Restrict placeholder" and added my ...
Kautilya's user avatar
4 votes
2 answers
507 views

Placeholders of same name all using same data source

I am really new to Sitecore and I have run into a problem. I have a placeholder called "sectionBlock" that I am using multiple times on one page. The view rendering that I have allowed it to use is ...
Olivia Shettles's user avatar
2 votes
1 answer
334 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
1 vote
0 answers
364 views

MVC Layout model is empty after Glass Mapper Upgrade

We recently upgraded from Sitecore 8.2.0 to Sitecore 9.2.0. Along with other packages, we also upgraded to the latest compatible version of Glass Mapper 5 for Sitecore 9.2.0. We use Simple Injector ...
Surbhi Kochhar's user avatar
2 votes
1 answer
237 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
4 votes
1 answer
772 views

Nesting placeholders in Standard Values

I know (and I do it) that I can put a default value in a placeholder so that when I create a new item for my route type it populates my placeholder with a component that I will choose. I do it like ...
Christophe's user avatar
2 votes
0 answers
585 views

Programmatically add a placeholder including its rendering hierarchy

I am creating a custom placeholder, that always renders the contents of a placeholder on a specific Sitecore item, no matter what page the custom placeholder is added to. I have been using this blot ...
Hos's user avatar
  • 884
2 votes
1 answer
85 views

Sharing SXA Placeholder Settings over sites

I would like to have all new SXA sites that are created in my environment to start with the same set of placeholder settings. The sites will share a "base" site that is used to define the partial and ...
Gatogordo's user avatar
  • 20k
1 vote
1 answer
494 views

Placeholders generated by partial design are behaving differently

Environment: Sitecore 9.0.2 + SXA 1.7.1 What I have done: I created a partial design, say PartialD1. In the 'main' placeholder of the PartialD1, i added a column splitter generating 2 placeholders '...
NutsAndBolts's user avatar
  • 1,310
2 votes
2 answers
388 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
517 views

Getting a blank page after deploying JSS-React application on server (Tech preview 4)

I am Getting a blank page after deploying JSS-React application on server (Tech preview 4) with two console warning 1) Cross-Origin Read Blocking (CORB) blocked cross-origin response https://www....
Abhishek's user avatar
  • 153
7 votes
2 answers
412 views

How can I prevent nested placeholders from being wrapped by a bootstrap row tag?

In our project, we assigned a partial design with a placeholder for stage modules and a placeholder for content modules to each page design. The rendered markup then looks like this, because the ...
Friederike Heinze's user avatar
6 votes
1 answer
892 views

Adding component with inner placeholder breaks placeholder settings

I have component manifest.addComponent({ name: 'MyComponentWithPlaceholder', icon: SitecoreIcon.DocumentTag, fields: [ { name: 'heading', type: CommonFieldTypes.SingleLineText }, ], ...
Matěj Pokorný's user avatar
2 votes
2 answers
1k views

Why does empty @Html.Sitecore().Placeholder("main") generate <div class="row"></div>?

I am working with SXA 1.8 on Sitecore 9.0 update 2. Since Bootstrap 4 is being selected for the current site, ~/Views/SxaLayout/Bootstrap4Body.cshtml view is being used. This view has such a code: &...
Martin Miles's user avatar
2 votes
1 answer
292 views

How to add Help Text to placeholder "Add Here" button in Experience Editor in Sitecore 8.2?

Before upgrading to Sitecore 8.2, our experience editors were able to see help text when hovering over an "Add Here" button in Sitecore. This was helpful because it is not always clear which ...
Erica Stockwell-Alpert's user avatar
0 votes
1 answer
992 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
1 answer
139 views

Multiple "Add here" buttons due to multiple tabs

In one specific layout, I have multiple tabs and each tab shows different content/placeholders. When I'm in Experience Editor mode, Sitecore shows all the "Add here" buttons even for the placeholders ...
Snapper's user avatar
  • 373
4 votes
2 answers
462 views

Missing or presenting body-tag placeholder in SXA

I have got two sample websites, both just have created tenant and site with SXA 1.8. When I am creating a page and open it in EE, I am getting two different visual editing structures. 1. Three ...
Martin Miles's user avatar
2 votes
1 answer
364 views

Placeholder settings wildcard keys

I've seen this in some examples, but it didn't seem to work when I tried it out. Basically, take a scenario where you have a placeholder name prefix, like "column" or "row", but in the actual ...
Ken McAndrew's user avatar
  • 5,092
6 votes
1 answer
491 views

Can we apply placeholder settings for rendering variants?

As SXA is supporting placeholder settings for different renderings, Is there any way that we can setup placeholder settings for rendering variants too for a single rendering?
Manideep Yechuri's user avatar
1 vote
1 answer
171 views

Get renderings for a placholder

I am trying to create a report of all placeholders and the rendering options available inside them. For this, I want to get all renderings within a placeholder. Is there a way get I can get all the ...
Gabbar's user avatar
  • 608
2 votes
0 answers
527 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
0 votes
0 answers
79 views

SXA renderings not displayed in placeholder

I am using sitecore 9 with SXA 1.7, when creating package using siterocks and deploying it to another environment, the renderings are displayed in preview mode but when open page as anonymous user ...
NAli's user avatar
  • 863
0 votes
1 answer
102 views

JSS deploy vueJs - then I need to manually Unprotect Layout to add my placeholders

Currently, each time I'm doing deploying jss using jss deploy package -c -d I need to manually unprotect the Item of my App Layout to include my placeholders. Any ideas how to stop this? Thanks
tomagladiator's user avatar
0 votes
1 answer
2k views

Programatically render nested renderings/placeholders from an item [duplicate]

I am working on programatically rendering an item to html in code. I found this question https://sitecore.stackexchange.com/a/6256/1133 which almost serves the purpose of my request, except it isn't ...
Iceape's user avatar
  • 617
3 votes
1 answer
358 views

Dynamically change placeholder at runtime

I have a web page with two placeholders, A and B. In Sitecore I inserted a WFFM form in placeholder B. Based on a the value of a checkbox in Sitecore, I want the WFFM form to be inserted into either ...
Hos's user avatar
  • 884
2 votes
0 answers
636 views

CreateCyclePreventer throwing NullReferenceException with final rendering details

I'm running into a weird issue with Sitecore 8.2 Update-6 where after I modify an item (with MVC controls) using the Sitecore Experience Editor I start getting NullReferenceExceptions when I view the ...
James Skemp's user avatar
  • 1,398
1 vote
1 answer
817 views

Add or edit controls in a placeholder through code

Scenario: A layout has controller rendering and it is in main placeholder. When the page loads and hits the action, we are trying to insert an existing WFFM form to the same placeholder as given in ...
Blue Clouds's user avatar
0 votes
1 answer
2k views

Placeholders defined in MVC /Views/layout.cshtml vs. placeholders defined from templates => __standard_values => Presentation details

Since we have our Templates => __Standard Values => Presentation => Detail => Layout Details pointing to Visual Studio MVC /Views/Shared/_Layout.cshtml, and this Layout already defines the ...
Coeur Dusite's user avatar
8 votes
3 answers
776 views

Benefit of dynamic binding for components like header and footer

Is there really any benefit of having header and footer assembled through dynamic binding (placeholder) in comparison to static binding. Sitecore habitat project based on helix uses a lot of common ...
rdhaundiyal's user avatar
1 vote
0 answers
937 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
2 votes
1 answer
516 views

Content inside Sitecore placeholders does not render to the page after Sitecore upgrade

I have upgraded a website from Sitecore 7.2 rev 140526 to 8.2 rev 161129 using Express Migration tool. After doing all config changes, recompiling existing dlls with new sitecore dlls and other post ...
Ashan's user avatar
  • 63
3 votes
1 answer
275 views

Are there other locations than \data\logs to look into for clues on "An error occured" message? [closed]

I'm on page 59 of APress Phil Wicklund's "Professional Sitecore 8 Development". I'm trying to add my Rendering to the "main" Placeholder. Experience Editor => click inside the "Main" Placeholder => ...
Coeur Dusite's user avatar