Questions tagged [presentation]

Questions related to Sitecore presentation components: layouts, sublayouts, renderings, presentation details, etc.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
0answers
162 views

A rendering snippets in Web Forms

I would like to add a rendering that also has some other rendering added to its own place holder ahead of time. An example is to add a striped rendering and place a 1 column grid rendering in the ...
7
votes
2answers
368 views

Implement personalization on component level

I have a personalization scenario in which we want to change a component (button label) based on a triggered goal. Not very difficult you would think, but the component exists on all pages. It's ...
6
votes
0answers
336 views

Component disappears when another component is added and the page was not saved

We're having an issue where a user adds a component to a page, and then adds another component to the first component. But when they add the second component the page reloads and since the content ...
5
votes
0answers
118 views

How to create a custom button for experience editor that creates a new rendering?

Right now I'm in the process of expanding our experience editor functionality. I've followed these articles for adding chrome around renderings and placeholders, and now I'm trying to extend this ...
2
votes
0answers
57 views

Loading Page Specific CSS in Sitecore

We are using Sitecore 8.2 and we have around 10-15 Page templates and all the CSS is bundled in a Global CSS and over the years the CSS file has grown tremendously resulting in below issues: We are ...
2
votes
0answers
60 views

Personalization Rules are not working as intended

i've a Sitecore 9.1.1 website on a Windows server2016 with IIS 10. I've enabled the xDb features but the "Personalize" button in the rendering details section is not available. I've seen that the ...
2
votes
0answers
60 views

Page Cannot Be deleted because of specific renderings

A very specific scenario where the components on a page are causing exception while trying to delete the page. To reproduce : Two components are needed A simple component which uses a datasource (...
2
votes
0answers
209 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 ...
2
votes
0answers
44 views

Few of the URLs working by placing (.) dot in the end of URL in Sitecore based website

A few of our website URLs are displaying blank pages. However when we append . at the end of the URL, it renders the page correctly. We're not sure how/why a majority of pages are working fine but a ...
2
votes
0answers
384 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 ...
2
votes
0answers
90 views

Saving presentation details kills browser

I'm having issue with saving presentation details on standard values for a template. I navigate to the template and standard values I'd like to edit in content editor, I open presentation details ...
1
vote
0answers
18 views

Get-RenderingParameter is not recognized as a name of a cmdlet

I'm writing a script to exchange a rendering component with a new rendering component, but it should keep all of the same rendering parameters. I followed the documentation to use Get-...
1
vote
0answers
54 views

Default enabling checkbox in rendering parameter isn't recognized by view

We have a view that uses rendering parameters, one of which sets a model property that determines whether a form should show inside the view. When I change the default value to 1 for that checkbox, ...
1
vote
0answers
45 views

Rendering Variants for non SXA Sitecore site?

I'm creating some new standard Sitecore components and really like how the rendering variants are used in SXA to differentiate between different component variations. Has anyone implemented anything ...
1
vote
0answers
33 views

What would cause a rendering to not show in preview mode for non-admins?

I have a rendering that shows fine for admin users but doesn't display for non-admins in preview mode. This happens on our production server but on our development server the rendering displays fine ...
1
vote
0answers
160 views

Adding placeholder settings to presentation details of many items

I have to add a bunch of placeholder settings to a bunch of items. These items already have specific presentation details, so not using the standard values. I tried to add them to standard values, ...
1
vote
0answers
341 views

Remove Child Renderings From Layout

I'm trying to determine the feasibility and effort for a client request. When a rendering is removed from a layout via the presentation details, they want all child renderings to also be removed to ...
0
votes
0answers
36 views

Getting “These is no current device.” error when accidentally removed layout folder

I'm currently going through the Sitecore 9 developer training. I misread the directions and I inadvertently deleted the \sitecore\layout\ folder. I went to the recycle bin and restore it and now I'm ...
0
votes
1answer
39 views

Bind JSON data in the rendering variants using custom SXA component

Recently I was building a custom SXA component and I have made that by cloning the Default Event List Component given by SXA . I have to get the data in json format from a controller and bind it with ...
0
votes
0answers
27 views

Fetch all the page rendering results programatically(static & dynamic) and pass it to new sitecore item

I am trying to fetch all the renderings of a global item programatically and want to pass those renderings to another item without adding anything in the presentation I have already tried ...
0
votes
0answers
25 views

Rendering values broken intermittently

Sometimes we are having issues with renderings not working. The raw value of the rendering will be something like this: <r uid="{43717136-004B-440D-A827-A655A3212829}" p:after="r[@uid='{374A65C7-...
0
votes
0answers
42 views

Get attached Datasource field value in the rendering template

There is a rendering parameter template Background Properties and it has a field Background Class. Rendering Parameter Template (Background Properties) -Field (Background Class) When rendering ...
0
votes
0answers
44 views

How did I clear the final layout accidentally

Suddenly the Final layout was missing and it did not even fallback to the shared layout also. No body from our side did not change the layouts intentionally. How this could have happened? Any guesses?...
0
votes
0answers
47 views

Rendering causing error in experience editor only on some pages?

I have a rendering that displays fine on our CD servers, and in Experience Editor on some pages, but not on one page, where it's throwing an error. When I check the logs I see the following error: ...
0
votes
0answers
68 views

Add component “Select a rendering popup” in grouped format

In my local instance experience editor add component showing a popup "Select a rendering" like below In My higher environment this popup showing differently like, its showing with the grouped format ...
0
votes
0answers
145 views

Unable to retrieve rendering parameter in controller

I have a legacy MVC action I'm trying to enhance for some limited number of cases. The solution I'm working on uses rendering parameters to impact the behavior of the control. To demonstrate the ...
0
votes
0answers
22 views

Template id not getting set using glassmapper _sitecoreContext.GetCurrentItem

I have an item item1 in sitecore with redering rendering1 in its presentation details. The rendering rendering1 has its datasource and is a controller rendering. The datasource of the rendering one ...
0
votes
2answers
52 views

Is it possible to get page content dynamically (Not HTML but field values which are displayed on the page)?

Is it possible to get the few renderings' (present on the page) contents dynamically, but the catch is like I don't want HTML instead I want the field values which are used to be displayed on the page....
0
votes
0answers
26 views

Sitecore making adaptive design as mobile friendly

I have a scenario where i need to make my site mobile friendly compliance . When i tested this with URL https://search.google.com/test/mobile-friendly , it always go to desktop layout so reports as ...
0
votes
0answers
80 views

Creating custom composite rendering from Content Editor with minimal visual studio

SITECORE 9.0.2 + SXA 1.7.1 What i am trying to build: I am trying to create an index/table of contents like this. I can have the links pointing to the pages from 'Page List' rendering and a rich ...
0
votes
0answers
40 views

DisplayName set to “__Standard Value” on Renderings

I have a very strange issue in this Solution I'm working on 8.* that all Renderings suddenly have "__Standard Values" as Displayname and I can't get rid of it. And some of them also have EN & DK ...
0
votes
0answers
84 views

SXA Browser Title not working in Chinese

We have an SXA site in the Chinese Language, however we are unable to render the Browser Title in any of the pages. This is working for other language sites except Chinese. Following investigations ...
0
votes
0answers
49 views

Presentation changes due to base partial design

Environment: Sitecore 9.0.2 + SXA 1.7.1 Steps to reproduce: I create a partial design 'MasterPartial' and applied a column splitter on it. I used the 'MasterPartial' as base partial design for ...
0
votes
0answers
170 views

Component/Module placement issue in experience editor in Sitecore 8.1

We are facing very strange issue. On a page we have one Banner(B) and two Container module/component C1,C2 Here is sequence on page: B C1 C2 In Experience Editor when I add one Container module ...
-1
votes
1answer
40 views

How to give few rendering's data in custom API response

Hi please see the picture below, so that I can tell you the requirement. Now, I have a requirement as, if I see page-1 there is content on this page which is coming from following renderings: Header, ...
-1
votes
1answer
54 views

Need to display multiple renderings in a Tab view

I am using Sitecore 9 and I need to display 5 controller renderings in a Tabbed view. I looked at the article: How to show three different Tabs rendering by using Sitecore in ASP.NET MVC But could ...