Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [presentation]

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

1
vote
1answer
37 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
1answer
33 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 default link <a ...
0
votes
1answer
35 views

Read URL from Rendering Parameter General Link in Sitecore 9

I have used general Link as rendering parameter . How I can extract URL in c#. For Single line text I am using below piece of code. var renderingModel = Sitecore.Mvc.Presentation.RenderingContext....
0
votes
1answer
19 views

Does anybody encounter a data discrepancy between Final Layout in Presentation Details and Final Renderings in Layout section?

Here's the scenario: Component ID is in use as a Datasource in both in Final and Shared Layouts in the Presentation Details but upon checking the raw values, it can only be found in the Renderings [...
1
vote
0answers
32 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 ...
1
vote
2answers
34 views

How to get Rendering from RenderingReference

We are using Sitecore 9.1 MVC. It is possible to get all rendering references for a given item by using: item.Visualization.GetRenderings(Sitecore.Context.Device, true) However, this will give me ...
0
votes
1answer
51 views

How to read Data source field value in view rendering

There is a Controller rendering and in its Data source field, I gave the path of the datasource item. [ The datasource item's path is set in the rendering itself and not in the presentation details. ...
0
votes
1answer
43 views

How can I limit a rendering variant to a partial design?

I'd like to limit a rendering variant so that it is only accessible on a certain partial design, is this possible? For some context, I'd like to add a variant of the promo component into my footer ...
8
votes
1answer
87 views

Knowing which rendering has a broken link

When looking at the broken links report or broken links in the bumper, sometimes it will reference a broken link in the Final Renderings. But no info is available to know which rendering is doing it. ...
2
votes
1answer
31 views

While viewing rendering attached to an item in Core DB, Sitecore is throwing server error

I am trying to access the details of a rendering attached to an item in the Core database, but Sitecore is throwing server error. Please refer to the attached screenshot.
3
votes
1answer
87 views

Pattern for multiple renderings calling same service

Scenario A page contains several separate renderings. Each rendering displays some data which is returned from a remote service. Several of these data items come from the same remote service. This ...
2
votes
1answer
38 views

Renderings on Page Design not visible

Environment: Sitecore 9.0.2 + SXA 1.8.0 What I have done: I have a 'partial design' P1. I applied this P1 to a 'page design' PD1. On this 'page design' PD1, I applied a few renderings. This 'page ...
0
votes
2answers
87 views

Dynamically change the rendering datasource without updating the item

I am trying to set a data source during runtime without updating the item in rendering, but am not able to achieve it. I tried the below approach, but that is updating the rendering data source, I ...
0
votes
0answers
38 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 ...
2
votes
2answers
40 views

How do I assign the same Conditional Rendering Rules to Multiple Components?

How could a Content Author copy a Conditional Rendering Rule from one component, to many others? I think the best solution would be to set the Conditional Rendering Rule on the Data Template of the ...
3
votes
4answers
266 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 ...
2
votes
1answer
40 views

SXA feature specific style option is missing for cloned rendering

Environment: Sitecore 9.0.2 + SXA 1.7.1 What i have done: I cloned the default 'Navigation rendering' as 'Global Header'. I have added it to under 'Navigation' under available renderings. Under '...
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
44 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
2answers
73 views

Get inner value of the rendering parameter

For the rendering parameters, I have a droplist which consists of the friendly name of the CSS-class which further consists of a value field for the actual CSS-class. In my view when I try to ...
0
votes
0answers
28 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
1answer
31 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 ...
0
votes
0answers
32 views

SXA style option for custom rendering [duplicate]

What I have done: I have a new rendering by cloning. I created a component on the basis of a new template created by cloning. On a new partial rendering, I added the newly created rendering and ...
0
votes
1answer
45 views

SXA Issue displaying fields with new rendering

Environment details: Sitecore 9.0.2 + SXA 1.7.1 What I have done till now: I followed the steps provided at https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/copy-and-...
1
vote
1answer
27 views

Equals sign (=) added after valueless query string parameters

When rendering an external link from a General Link field using the Glass Mapper BeginRenderLink helper, any query string parameters without values are getting an equals sign (=) added after them. An ...
1
vote
1answer
66 views

Dynamically Generated Rendering not displaying in experience editor in SXA Multi Tenant Solution [closed]

When working with with SXA inside of a multi-tenant solution, we are building a component to generate an HTML sitemap. We have implemented a recursive function to generate the html sitemap ...
1
vote
1answer
97 views

Placeholder setting for partial designs

I was creating a page similar to the image below with SXA 1.7.1 in Sitecore 9.0.2 In my situation, I have the 'translation section', 'Videos' and 'The Weeknd' to be reusable. Search results can be ...
1
vote
1answer
294 views

Sitecore broken links reports - how to find wrong component

I have a message about a broken link at final layout at some page item on my Sitecore 8.2 instance. I ran a Scan for broken link report and find a record about this page item. The report shows an ...
0
votes
2answers
119 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 ...
0
votes
1answer
47 views

Missing Files When Duplicating Rendering

I'm able to create modules and duplicate renderings without any problems when on my local Sitecore 9.1 / SXA 1.8 build, but whenever I am facing issues when trying to do the same process when using ...
2
votes
0answers
28 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 ...
0
votes
1answer
53 views

Sublayouts always rendering even when Visible=false, causing performance issues

I have a page template that dynamically renders all the datasource items that are in its Components folder. The way the page works is that there are no components in the placeholder settings on the ...
1
vote
2answers
106 views

I need to reorder renderings in Presentation Details on all pages

Working on a client's site and they have thousands of items with layout. In the layout of every page we have two renderings - Top Navigation, then Pinned Navigation. We made an architectural mistake ...
1
vote
1answer
52 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 ...
-1
votes
1answer
44 views

Razor-Inserted Value rendering as Type String instead of Expected Value

We're encountering a strange issue from one environment to the other that we can't seem to get to the bottom of. We're using Azure for hosting as well. On all environments, we have the following code:...
5
votes
1answer
91 views

Add Placeholder To Presentation Details Using Sitecore Powershell

I'm attempting to use Sitecore Powershell Extensions to automate Step 2 of the following upgrade guide for a Sitecore accelerator known as SCORE: https://brainjocks.atlassian.net/wiki/spaces/SDD/...
3
votes
1answer
98 views

Count of selected items in a MultiList

I need to view the number of selected items in a MultiList field using out of the box SXA (1.7) components(i.e. no custom coding). I tried doing this with a rendering variant NVelocity template using ...
4
votes
2answers
128 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 ...
3
votes
1answer
68 views

Changing renderings on a base template standard values and having all inheriting templates update

I have a base template called Base Page which has a few renderings on it in the standard values that all pages should have. I have a bunch of templates inheriting from Base Page that also have a ...
4
votes
1answer
94 views

Edit a Sitecore item in memory only

I'm using a custom item resolver to take a call to a wildcard item and use the URL to grab an item in a catalog of products (not Commerce). I've got the parser set up, but I've hit a conundrum. The ...
1
vote
1answer
147 views

Sitecore keywords in the metadata

Lets say we have 4 renderings on the Page and each rendering has a data source attached to it which has a Keyword field that is being used for SEO purpose. Is it possible to get all the attached ...
1
vote
1answer
147 views

How to add renderings programmatically when another rendering is added

Which pipeline should I use when a new rendering is added in the presentation? I have a scenario to add renderings programmatically if a particular rendering is added in the item. I will write a ...
2
votes
2answers
120 views

Fixing incorrect references in _Final Renderings (and maybe _Renderings too)

Background: Sometimes we get invalid pointers to renderings in the diffs stored in the rendering fields in Sitecore. (_Final Renderings in our case but maybe it appears in in the shared _Renderings ...
2
votes
2answers
211 views

Opengraph meta tags not rendering

Using Sitecore 9 and SXA 1.7 We are trying to use Opengraph meta tags by adding custom metadata in this section for an item however, it never renders on the page,and never shows up in the html. We ...
5
votes
2answers
301 views

Getting and setting the order of renderings/sublayouts on a page

I have written a PowerShell script that replaces sublayouts with renderings across all pages in a Sitecore site. Everything is working well except for the order of the renderings. The order always ...
1
vote
1answer
32 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 ...
0
votes
2answers
99 views

How to allow requests to items underneath an JSON endpoint

We are using a JSON based contentstore for one of our projects. We are working with Sitecore 9.0 and SXA for generation JSON documents for our content stores. Now our client asks if we can allow calls ...
0
votes
0answers
51 views

Programmatically check Sitecore A/B Testing configured on the Rendering Component

Is there a way to check Programmatically if there is an A/B Testing that was setup in the Rendering Component? I am not sure where to find this, as I am currently investigating an issue on our ...
1
vote
1answer
225 views

How to change name of external link when viewing in its rendering variant?

I'm using Sitecore 9 and SXA 1.7. I have a template with a "General link with search" field, and I created several items of that template where I need to "insert external link", after that I set the ...
1
vote
1answer
121 views

Cloned Items Not Copying Rendering Parameters From Presentation Details

Sitecore 8.2u4 We are losing rendering parameter values during the cloning process of certain fields. Steps to reproduce: Create a page item (item with Presentation Details) Add a Rendering to the ...