Questions tagged [presentation]

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

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
1answer
263 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 ...
9
votes
3answers
680 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
180 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 ...
6
votes
0answers
409 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 ...
3
votes
0answers
155 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
48 views

Final layout gets automatically populated with extra renderings

I'm using Sitecore 9.1.1. I ran into an issue related to the layout of a page. I have a template which I added a snippet on its standard values' presentation details in the shared layout, this snippet ...
2
votes
0answers
246 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
117 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
395 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
81 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
566 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
100 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
75 views

Component with workflow loads only once

In our project we have a home page and test home page. Both the pages have a component with two different data sources (based on same template- but content differs). Now the problem is when we make ...
1
vote
0answers
33 views

How can a previously removed component be fully restored from standard values?

When a component coming from a template has been removed from a page item, it can be restored by resetting layouts from standard values. However, if changes are made to the component at the template ...
1
vote
0answers
25 views

Why are page components getting bumped to bottom of components list after template is deployed?

After a particular template is deployed during a release, page level components are getting bumped to the bottom of the components list on page final layout. We've pulled that template from getting ...
1
vote
0answers
88 views

Order of controls in layout changed when site was updated from Sitecore 7.5 to 9.3

After upgrading our Sitecore site from 7.5 to 9.3 we discovered that the order of controls in layouts for some items has changed. Therefore the actual layout of the pages also changed. There seems to ...
1
vote
0answers
240 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
63 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
70 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
204 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
420 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
22 views

Powershell script to update the template but to retain all renderings and fields

I need to change the template of multiple items in a folder but need to retain the field values and rendering and layout details. I was able to change the template and retain the field values. But how ...
0
votes
1answer
16 views

How do I force the Sitecore FieldRenderer or Glass.Mapper, when rendering rich text fields, to always render absolute urls for my API?

I have an API in Sitecore that takes content from Sitecore and provides it to an external non-sitecore site. While retrieving content, the API renders a rich text field using glass mapper. This rich ...
0
votes
0answers
44 views

How to import renderings/components from solution folder to sitecore

I copied over the views and controllers from the solution folder to my local project, built and deployed. sitecore got updated with new files. I am wondering how to import the renderings/components ...
0
votes
0answers
25 views

Can I add a script that is dynamically changed in a Sitecore layout page?

My company is still using Sitecore v8.2 and for a while we are not upgrading it. Is there a way to add a script that has been created Front End side using Webpack and that has the following structure &...
0
votes
1answer
32 views

Created WebControl not working

I've created WebControl by extending Sitecore.Web.UI.HtmlControls.Control class and implemented DoRender method. Adding either in another control or by adding to xml file don't call DoRender method at ...
0
votes
1answer
68 views

Shared/Final Layout switch/toggle button not available or visible

I'm using Sitecore 9.2. We have an issue where the shared/final layout button is available for some roles and not others in Experience Editor's Presentation Ribbon. When I access a page with my admin ...
0
votes
0answers
36 views

Site breaks when page contains an unpublishable item

We have just upgraded from 8.2 to 9.3 and some behaviour has changed. In 8.2, when I make an item unpublishable and publish to cm/cd, the page loads fine without that item. In 9.3, the page doesn't ...
0
votes
0answers
69 views

Can we create multiple ActionResults in Sitecore SXA custom controller rendering?

Per Sitecore SXA documentation, in SXA custom controller, we have to override the GetModel() method and we call repository to get the model. I would like to create multiple Action Results in Sitecore ...
0
votes
0answers
67 views

What does RenderingContext.Current.Rendering.Item.HasLanguageVersion() do?

I have some logic server side to check if the Item has a language version and based on that the result, the app would choose whether or not to show a particular view. I published the item in es-PA ...
0
votes
2answers
81 views

Updated field in rendering variant not working

The requirement was to show the last updated date and time of the item in the page. So I tried to create a rendering variant of page content with field as Updated (which is there for every item ...
0
votes
1answer
662 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
37 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
49 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
84 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
236 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
851 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
138 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
41 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
161 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
181 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
155 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 ...