Skip to main content

Questions tagged [presentation]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
35 views

Looking for resources on how to best design structures for storing and editing page data

Apologies for the broad question, but most of my experience has been working with using older versions of Sitecore, primarily Web forms based projects and only using the Content Editor. General page ...
Jake Kelly's user avatar
2 votes
1 answer
89 views

Rendering only visible on Content Delivery site after Azure App Service restart

Steps to replicate the problem: Add a new rendering with Personalization rules (we added this to our Footer Partial Design, but the problem surfaces when we add a rendering with or without ...
Harald Greve's user avatar
2 votes
1 answer
98 views

Read all the renderings from the context item including page design renderings

I am using Sitecore 10.3 with SXA, I am trying to read all the renderings of the current item and get datasource of a required rendering item based on the item ID, But I am able to see only which are ...
Pramod's user avatar
  • 23
0 votes
1 answer
59 views

Can't browse for rendering datasource and NullReferenceException in Sitecore.XA.Foundation.LocalDatasources

On my headless SXA 10.2 CM instance, I have a page in my tree (within a bucket) where if I try to browse for a rendering datasource, the popup does not appear, and an error appears in my logs. This ...
Marcel Gruber's user avatar
0 votes
2 answers
190 views

How to find out if a rendering is used in any page

Using Sitecore 10.1.3 We have an existing application which uses both SXA default & custom renderings. There are 100+ renderings and many are not in use any more. For each rendering, I would ...
sukesh's user avatar
  • 3,176
0 votes
1 answer
73 views

How and when to set JSS editing secret on Sitecore CM?

I'm building the JSS app from the dotnet nextjs template and it is working on my local with XP1 topology. However, I have difficulties deploying the app to our Sitecore installation which is deployed ...
Faizal Sidek's user avatar
1 vote
2 answers
347 views

This "Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering" is not found in Sitecore.Mvc.Analytics10.0.3

We are in the process of converting Sitecore 9.0.2 MVC project to Sitecore 10.0.3. The following code was used to convert the shorthand like site:$datafolder/Home/Banne to the absolute path in the ...
Eshu Kumar's user avatar
0 votes
1 answer
47 views

Control order of components added from page design on the assigned page

I have some pages previously created with some components added to the main placeholder. Then I created a new page design and partial design on which I added a new component to the main placeholder as ...
AME's user avatar
  • 679
1 vote
1 answer
63 views

Meta partial view gets rendered in the body tag instead of in the head tag

I have added @Html.Partial("/Views/Common/Meta.cshtml", metaModel) in the <head> tag in the page layout but the links and other tags present in the meta.cshtml file are getting ...
Test User's user avatar
0 votes
2 answers
135 views

Experience editor doesn’t allow edit data-source properties option for nested data-source items

We have a Datasource item having child items where root item is like a folder - inherited from standard template and allow some insert options to crate the child items. Root item given as a data ...
Santosh Kumar's user avatar
2 votes
0 answers
87 views

Google bot is not able to trigger personalization rule?

The task is to determine if there is a possible solution to allow Sitecore editors to apply date-based and traffic-eligibility-based rules to content items which are visible to Bots such as Googlebot. ...
sandeep upreti's user avatar
0 votes
3 answers
511 views

How can I get the datasource of a personalized sublayout (webforms)?

I'm working on enabling sublayout caching for personalized sublayouts. public class ContextCacheableSublayout : Sublayout { public override string GetCacheKey() { var cacheKey = base....
Erica Stockwell-Alpert's user avatar
0 votes
2 answers
101 views

Template's Standard Values Layout Details removed during deployment

Sitecore 10.2 with SXA We are facing an unexpected issue when after each deployment a few of the template's Standard Values in Layout Details get removed. As a result this removes all components from ...
Jumping Rabbit's user avatar
0 votes
1 answer
475 views

Presentation-> Details is disabled on custom role

My custom role contains following roles - Sitecore\Designer & Sitecore\Author Also I tried giving Read/Write access to below items in core database /sitecore/content/Applications/Content Editor/...
Pavan Toshniwal's user avatar
3 votes
1 answer
99 views

Is there any way I can order Rendering tabs?

Is there any way I can order Rendering tabs to appear when adding a new component to the page? I tried this from available rendering but it didn't work out
sahar Nofal's user avatar
3 votes
1 answer
351 views

How to Find the unique rendering ID for a placeholder

We are currently upgrading a site from 8X to 10.2. We are trying to change the dynamic placeholders as per 10.2. But 8.2 dynamic placeholders are of format- /a/b_1/c_1, /a/b_1/c_2, /a/b_2/c_3. We ...
Sylesh JL's user avatar
  • 191
0 votes
0 answers
63 views

How to include custom content folder for choosing renderings

In the presentation details, while adding a rendering, it shows these two nodes. Is it possible to add my custom folder to show up in that dialog, which also has renderings. The folder will be under ...
sukesh's user avatar
  • 3,176
2 votes
1 answer
263 views

Incorrect datasource location being displaying in Experience Editor while adding new component

I am having an issue regarding datasource location while adding a component in experience editor. The component datasource location is set to a particular datasource folder item(/sitecore/content/Site ...
user9152709's user avatar
2 votes
3 answers
109 views

Get Renderings for page currently being edited

I'm trying to get the renderings of the current item being edited. So, when components are added to a placeholder in the Experience Editor, I want to be able to get those renderings. If I use Context....
Jon Morgan's user avatar
0 votes
0 answers
36 views

Request is redirected to no layout page for Sitecore root item [duplicate]

We are seeing a lot of these warnings in the CD logs. Can anyone suggest how to investigate the root cause? 06:23:02 WARN Request is redirected to no layout page. Item: sitecore://web/{11111111-1111-...
Tiger's user avatar
  • 33
0 votes
1 answer
30 views

How to add custom rendering button to Renderings node

I have duplicated the Controller rendering template to create a custom rendering here - /sitecore/templates/System/Layout/Renderings/ Is it possible to add this as an insert option to the renderings ...
sukesh's user avatar
  • 3,176
0 votes
1 answer
399 views

Where are the cshtml files for the built in SPEAK UI layouts and renderings

I'm working with SPEAK UI (Sitecore 9.2) and am attempting to understand more about how the built-in components are structured. Looking at the layout Speak-FlexLayout I see that the Path specified is /...
Matthew Dresser's user avatar
0 votes
0 answers
79 views

How to have shared layout for specific page?

I am trying to achieve the shared layout for all the languages of the item. Basically, I have a project where a multiple pages are already made, and for 8 languages. Now I need to change every page (...
Samke11's user avatar
  • 359
2 votes
1 answer
175 views

List of Personalization Rules Conditions and What it Triggers

Is there a way in Sitecore to get a list personalization with it rules conditions and what triggers it? Prefer to use PowerShell if it can be done that way or an OOB method. Thanks.
RReilley's user avatar
  • 755
1 vote
1 answer
162 views

Rendering variant does not render data if template is changed

Scenario: I have a template that has shared fields, now I got the requirement to provide multilingual support in few components. I can't change the shared field because data should be shared in other ...
Imad's user avatar
  • 235
1 vote
1 answer
91 views

Select A Rendering Not Recognizing Allowed Controls From Placeholder after App Pool Recycle

I'm experiencing an issue in Sitecore 9.0.2, Lucene index, and 10.2, Solr index, where some, but not all, of our placeholders in Experience Editor are not recognizing the renderings inside the Allowed ...
Kyle's user avatar
  • 21
0 votes
0 answers
364 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 ...
Visva Kiruthika Muthuraj's user avatar
1 vote
1 answer
421 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 a glass mapper. This rich ...
TxRegex's user avatar
  • 141
0 votes
1 answer
222 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
0 votes
2 answers
81 views

Is it possible to extract a list of all Custom Controls

We have an inherited Sitecore 8.2 instance. I am very new to Sitecore so I apologize if my terminology is wrong! While our team has completed some custom development since taking over the site, I now ...
user9848's user avatar
1 vote
0 answers
207 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 ...
Visva Kiruthika Muthuraj's user avatar
2 votes
0 answers
72 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 ...
AME's user avatar
  • 679
0 votes
0 answers
50 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 ...
ffomar's user avatar
  • 3
0 votes
1 answer
233 views

Sitecore not obtaining an item's fields

My sitecore Article Component is not picking up my authors details. I have an Article component that has the path to my article html page, /Views/Basic Components/Article.cshtml. In my author page ...
ffomar's user avatar
  • 3
0 votes
1 answer
480 views

Passing Custom Model into View Rendering

I am calling a controller action from a form post, fetching all the data inside the controller and passing the model inside View Rendering, but Im getting null values inside the View. I have used this ...
Suman Baul's user avatar
1 vote
1 answer
366 views

Why aren't SXA rendering variants available for the default "Page Structure" renderings?

For nearly all of the default renderings in SXA, there's an associated rendering variant. And if I wanted to add a variant, in the Content Editor, I can go to presentation > rendering variant, and ...
voobaroo's user avatar
0 votes
2 answers
613 views

How to add a component inside accordion

I have to add a checklist filter component inside SXA accordion component .Can it be achieved in SXA?
Barada Behura's user avatar
0 votes
1 answer
179 views

How to add an SXA rendering variant to the toolbox?

I have a custom rendering variant under site "A" (under Presentation > Rendering Variants > Navigation) and I want to add that to the Experience Editor's toolbox so that it's available ...
voobaroo's user avatar
0 votes
0 answers
91 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 &...
Ferie's user avatar
  • 101
2 votes
1 answer
120 views

Created WebControl not working

I've created WebControl by extending Sitecore.Web.UI.HtmlControls.Control class and implemented the DoRender method. Adding either in another control or by adding to an XML file doesn't call the ...
John Vein's user avatar
  • 141
0 votes
1 answer
185 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 ...
Frank Rosario's user avatar
1 vote
1 answer
1k views

How to programmatically get or set only Shared Or Final Layout renderings

The following code will remove rendering from items. It works fine but the changes happen only in the Shared Layout. Is there a way to read/update renderings in only a certain layout type - Shared or ...
sukesh's user avatar
  • 3,176
1 vote
3 answers
2k views

Programmatically set Sitecore.Context

I'm trying to build a custom admin utility page which will add renderings to a page. The action happens in an Ajax call and so the Sitecore.Context is unavailable. I do have the pageItem though. ...
sukesh's user avatar
  • 3,176
0 votes
2 answers
621 views

Where are the presentation details stored in an item

I have added a layout and some renderings to a page item, in the Shared Layout. The raw value of the Renderings field shows this: <?xml version="1.0" encoding="UTF-8"?> <r ...
sukesh's user avatar
  • 3,176
1 vote
0 answers
44 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 ...
ventenni's user avatar
0 votes
0 answers
118 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 ...
KRT's user avatar
  • 1
2 votes
2 answers
147 views

Prevent Sitecore Save on Editing.EndEdit()

I'm trying to make a a function that whenever user saves in the Experience Editor, it copies the rendering of current language version to other 2 language versions. For example, if I'm in Language A (...
Thanh Nguyen's user avatar
1 vote
0 answers
329 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 ...
Nick's user avatar
  • 21
1 vote
1 answer
431 views

Model.VariantFields return null when creating custom SXA rendering with variants

I created custom SXA rendering with variants but Model.VariantFields return null. my controller public class NotificationController : VariantsController { protected NotificationRepo ...
shimaa elsayed's user avatar
1 vote
2 answers
191 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 ...
Barada behura's user avatar

1
2 3 4 5 6