We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [presentation]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
93 views

Update Sitecore rendered links for a specific page

We are using Sitecore 9.0.2 & SXA 1.7.1 and we need to update all links to be absolute only in a specific page as by default all the links are relative for example this is the default link <a ...
1
vote
1answer
55 views

Duplicate icons on column splitter in partial rendering

Environemnt details: Sitecore 9.0.2 + SXA 1.7.1 What is happening: The options to modify the presentation are coming twice, as can be seen in the image below. On hovering over the icons, message is ...
1
vote
1answer
58 views

What can cause some renderings to not appear even after being published?

I have a Sitecore 9.1 dev instance. I added a non-cached View Rendering to the Default Layout (using Presentation Details), specifying "Content" as Placeholder. I reset IIS, cleared Sitecore cache, ...
-1
votes
1answer
49 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 ...
0
votes
1answer
52 views

Layout/presentation details and language fallback

I'm working on a multilingual Sitecore site. We currently have everything set up in English (/en); but are adding other cultures and languages (en-CA, es-MX, fr-CA, etc.). I've setup the languages to ...
2
votes
1answer
34 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
1answer
28 views

Render Name value list using rendering variant fields

Is there any way to render Name value list field using rendering variant fields?
4
votes
5answers
777 views

Detect if page is on experience editor Sitecore 9 via Javascript?

Ok, i see many examples of this online but none seems to work, maybe those examples are for older Sitecore. I simply want to detect if the user is on regular site view or if they are on experience ...
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
1answer
30 views

Forcing correct item to render if it has same name with other item

Kindly correct me if I'm wrong posting it here. But I just wanted an opinion with this implementation I have: So, in Sitecore, we have multisite: -Site1 -Site2 -Site3 And we have a separated node ...
0
votes
0answers
34 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
1answer
53 views

RenderingContext is null

I want to access the rendering context in the getLookupSourceItems pipeline. public void Process(GetLookupSourceItemsArgs args) { // var rc = Sitecore.Mvc.Presentation.RenderingContext....
7
votes
2answers
333 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
1answer
1k views

Best way to add rendering in base template and inherit

We are 80% from the completion of the project. And noticed that we need to create a couple of renderings that must exist on all pages. I thought the best place to do this would be presentation ...
9
votes
1answer
743 views

Sitecore Page Editor Issues with Move and Add Components

I have a page with "body" placeholder in which I have kept 10 controller renderings on a page. When I'm trying to order the component using Page editor or Content editor, the sort order randomly ...
2
votes
1answer
62 views

EXM Experience Editing - missing create new content

I've created a new rendering and have set the Datasource Location and Datasource Template. However when I add it to a placeholder inside the EXM Experience Editor I only see the option to select ...
6
votes
1answer
52 views

Remove inline style from sxa image tag in sitecore

I created rendering variant and inserted field like that: and the image rendered as : <img src="/master-site/-/media/Project/ADGEs/Master-Site/Register-Icon.svg" alt="" style="margin: 0px 0px;...
5
votes
1answer
35 views

Can you add the same rendering to multiple SXA Cache Settings items

Is it supported to add the same rendering to two (or more) different cache settings items? Currently, there is no warning if you do so, but I'm unsure if this is a valid thing to do or not?
1
vote
0answers
16 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-...
0
votes
0answers
26 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, ...
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
44 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
2answers
38 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....
5
votes
2answers
220 views

SXA differences between Partial Design and Metadata Partial Design

I notice that with SXA there are two types of partial design: Partial Design /sitecore/templates/Foundation/Experience Accelerator/Presentation/Partial Design Metadata Partial Design /sitecore/...
2
votes
0answers
51 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
1answer
178 views

Programmatically add log information in all renderings (controller, view) HTML

Is there an option to write some logging information, like rendering name and data-source location, in every view programmatically, without go and modified in all views?
7
votes
1answer
4k views

Sitecore media ashx not resizing the image (version 7.2)

We have 3 (near identical) Sitecore sites on a development server and 2 out of the 3 fail to resize the images using the inbuilt Sitecore query string parameters. Example URL: /~/media/...
0
votes
0answers
48 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 ...
4
votes
2answers
597 views

System XML exception for rendering after upgrade

We recently upgraded to Sitecore 9.0 Update-1 from Sitecore 8.2 update 2. When accessing one of the pages in Experience Editor, we get the following error for one of the renderings used for page ...
0
votes
0answers
34 views

Render Page HTML without using Web Request while indexing [duplicate]

Does Sitecore have a way to get the HTML of a page (even if it means completing a page life cycle) without using a web/HTTP request? Say I want a specific Item to be rendered while Indexing. Is ...
0
votes
1answer
46 views

Issue in updating parameters template field of a rendering using powershell

The following is the code which i'm using to update the field values of a rendering. $item = Get-Item -Path "master:\content\ListManagerTask\Adding Contact" Get-Rendering -Item $item -PlaceHolder "...
0
votes
0answers
84 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 ...
-1
votes
1answer
26 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, ...
0
votes
0answers
20 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 ...
1
vote
2answers
77 views

Component re-render or ad hoc personalization rule verification

We have a personalization rule that depends on two values that are changeable by end-users on a page, using two dropdowns. The personalization rule works fine on a page load (we know which values are ...
1
vote
0answers
42 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 ...
2
votes
2answers
100 views

Does Sitecore SXA supports personalization between rendering variants?

I have come across the situation where we want to implement personalization between the rendering variants for a given rendering. I know we can do the personalization between the renderings but I'm ...
2
votes
2answers
54 views

Put Sitecore component on page based on QueryString

We have a Sitecore component that displays a list of blog posts. Part of this component is a placeholder where a "Featured Blog Post" component may be placed by editors manually. The "Featured Blog ...
2
votes
1answer
61 views

@Html.Sitecore().Rendering does not rendering view even after executing without any errors

I am trying to use @Html.Sitecore().Rendering("--id--", Model.Property) to call render a staic view. It is not rendering on page. Layout: @Html.Sitecore().Rendering("--Myviewid--", Model) Myview: @...
2
votes
0answers
55 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 ...
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 ...
0
votes
1answer
26 views

Retrieving items from a multiselect Rendering Parameter

I'm trying to retrieve items via a multiselect rendering parameter. It parses the rendering parameter correctly but even though it doesn't throw an error when adding a new item to the model, when it ...
19
votes
2answers
5k views

How do I implement Accelerated Mobile Pages (AMP) with Sitecore?

This is just a general question. Has anyone implemented AMP with Sitecore before? Is it possible, how difficult and could you point me in the direction of documentation?
1
vote
1answer
45 views

SXA placeholder settings not limiting renderings

I've added a placeholder to a rendering variant. When I use that variant on a page, I click on the add item button, and I get the default window with all renderings available. I have then added a ...
1
vote
2answers
63 views

Blank Page is displaying while running particular content item

One specific content item is not rendering, showing blank page. When we check log found below exception: Exception: System.InvalidOperationException Message: The Sitecore.Client.ContentDatabase ...
2
votes
0answers
56 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 (...
1
vote
1answer
102 views

How can I copy personalization rules to a rendering in Sitecore Powershell?

I'm copying a rendering from one item to another using Sitecore Powershell Extensions. All is working well, except that the personalization rules for the rendering aren't copied over. I can get/set ...
0
votes
0answers
25 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 ...
1
vote
1answer
214 views

What are differences between server side rendering and client side rendering in JSS?

Please illuminate main differences between server side rendering and client side rendering for JSS app? Is server side rendering only required for things which are tightly couple with Sitecore like ...
0
votes
2answers
300 views

Checking for a checkbox rendering parameter value in view

I have a view that works fine to display rendering parameters for a title and body of a widget, however, I've added a checkbox field to the rendering items for that template and when I try to use it ...