Questions tagged [presentation]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

JSS sitecore API verification throwing exception 403.0 - Sitecore.LayoutService module requires subscription license

I am trying to integrate my JSS app into Sitecore. I am following official JSS documentation but it throwing error on API verification HTTP Error 403.0 - Sitecore.LayoutService module requires ...
0
votes
0answers
22 views

Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Failed to start Node process

We are trying to get Sitecore Experience Editor working in Integrated mode but facing below error.Have ensured node is installed and is in the PATH environment variable. Additionally, was trying to ...
0
votes
2answers
36 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 ...
0
votes
0answers
35 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
34 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 ...
1
vote
2answers
38 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 (...
0
votes
0answers
29 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
1answer
33 views

How to render datasource version after page load through programming in Sitecore SXA?

How can we render datasource version of the page through programming in Sitecore SXA ? Based on page version we want to render datasource item version on a page in experience editor.
0
votes
1answer
45 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 ...
0
votes
2answers
28 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
0answers
27 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 ...
0
votes
0answers
21 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 ...
0
votes
1answer
22 views

Editors cannot edit certain aspects of presentation details, such as a component's datasource or placeholder

I am working on an issue facing some Sitecore editors. These editors can edit items normally once it is locked to them but cannot edit certain aspects of presentation details of those items. If the ...
0
votes
1answer
87 views

Loading of new page blocked by api call

I have a website with two pages (A and B). Both have some content which is loaded via renderings. A has a button which opens B in a new tab. A also has some frontend code which calls one of my APIs, ...
0
votes
1answer
34 views

SXA Missing Variants in a cloned rendering

i followed the documentation https://doc.sitecore.com/developers/sxa/93/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html and cloned a Page Content rendering. The script finished, ...
0
votes
1answer
202 views

Understanding Shared vs. Final layout, Experience Editor and Publishing

I understand that theoretically the Final layout is the versioned one of the layouts, what I don't understand is the behavior I get with making changes in the Experience Editor and how it seems to ...
0
votes
0answers
44 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 ...
0
votes
1answer
139 views

Unable to preview page - Permission to the requested document was denied

This is a fresh 9.3 instance. I'm unable to preview any page. On clicking preview, it opens a page which has this error: I'm logged in as Admin. It did not happen with other instances like 8.2. Are ...
2
votes
2answers
169 views

Page designs not visible in in main placeholder

I am using Sitecore 9.2 with SXA 1.9. My experience with using the out of the box sxa layout is that three placeholders are present: header, main, and footer. About a week ago we began to see a ...
6
votes
0answers
276 views

SXA Dynamic Placeholders not working when creating multiple placeholders inside of a single rendering

I am currently working in Sitecore 9.1.1 with SXA 1.9. I am trying to build out a Rendering Variant that points to a datasource item with sub-items. These sub-items are child items to the datasource ...
1
vote
2answers
115 views

Can't switch between Final Layout and Shared Layout

I'm encountering a problem where I can't switch between Final Layout and Shared Layout in the Experience Editor. The button is not grayed out though. It just doesn't make the switch when selected. ...
0
votes
0answers
52 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
372 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
1answer
36 views

Sitecore 8.2 versioning not working in final layout

I have a Sitecore 8.2 build which is behaving quite opposite way to what sitecore defines versioning to be. When I make a second version for an item and make changes to the final layout, it applies ...
2
votes
2answers
38 views

Modifying renderings programatically - can update the Shared Layout and Final Layout together but can't seem to only update the Final Layout?

I'm working on a script to modify rendering parameters. I noticed that I seem to only be able to modify the Shared Layout and not the Final Layout. I can retrieve the Final Layout field and work based ...
0
votes
0answers
32 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 ...
4
votes
2answers
691 views

How can I edit rendering parameters programatically?

I have a rendering that is used on pages all over my site, and I had to add a new field to the Rendering Parameters it uses. I now need to update this field on a huge number of renderings, but only on ...
3
votes
1answer
74 views

How to apply rendering to child items

Assume I have a menu with menu sections. The menu has a title, opening paragraph, and a list of menu sections. content title - Single line text paragraph - Rich text sections - Multilist ...
2
votes
1answer
110 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
78 views

Render Name value list using rendering variant fields

Is there any way to render Name value list field using rendering variant fields?
0
votes
0answers
26 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
49 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
57 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
306 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....
1
vote
1answer
62 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, ...
6
votes
1answer
100 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
48 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?
4
votes
1answer
198 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 ...
1
vote
1answer
71 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
131 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
46 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
54 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: ...
5
votes
2answers
712 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/...
3
votes
0answers
98 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 ...
3
votes
1answer
232 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?
0
votes
0answers
166 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
1answer
131 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
379 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
vote
2answers
135 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
52 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
2 3 4 5