Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- Create C# Class from SQL
- C# HttpClient POST or PUT Json with content type application/json
- Run tasks in parallel using .NET Core, C# and async coding
- C# get results from Task.WhenAll
- C# Get expiry timestamp from JWT token
- Using C# HttpClient from Sync and Async code
- ASP.Net Core API - "'s' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."
Archive
Meta
Tag Archives: sublayout
Sitecore from Rendering to Experience Editor
In Sitecore, how do you set up a template and a rendering that works in the Experience editor? Here is the checklist: STEP 1: CREATE A TEMPLATE Create the template. For each field, use the “Title” field for all of … Continue reading
Posted in General .NET, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Custom Experience Editor Buttons, datasource, Rendering, Sitecore, sublayout, Thumbnail
Leave a comment
Sitecore locating sublayouts on your webpage
This is a followup from the post, Get Sitecore placeholders and rendering hierarchy from a Sitecore item, where I adress one of the difficulties when working with pages in Sitecore, that they tend to get very complex as one page may … Continue reading
Posted in .net, Sitecore 6, Sitecore 7, Sitecore 8
Tagged AppRelativeVirtualPath, Rendering, Sitecore, sublayout, Usercontrol, WebControl
5 Comments
Get Sitecore placeholders and rendering hierarchy from a Sitecore item
This article explains how you can get the hierarchy of placeholders and render them to your screen for debugging or documentation purposes. The Sitecore rendering engine allows you to place sublayouts inside placeholders. These sublayouts can contain more placeholders, thus … Continue reading
Posted in c#, General .NET, Sitecore 5, Sitecore 6, Sitecore 7
Tagged Hierarchy, Layout, Placeholder, Rendering, Sitecore, sublayout
6 Comments
Merge Sitecore layout details using XmlDeltas
One of the features that Sitecore introduced somewhere in the Sitecore 6.x range is “Layout Deltas“, the possibility to merge an item’s layout details with the layout details on the item’s __Standard Values template. It means that you can add sublayouts to the __Standard … Continue reading
Posted in .net, c#, Sitecore 6, Sitecore 7
Tagged Sitecore, sublayout, XmlDeltas, __Standard Values
3 Comments
Avoid the use of Sitecore.Context.Item
Or: How Sitecore DMS and Personalization killed the Sitecore.Context.Item. This post is about how to properly ensure that you get data from the correct item when you develop websites that can be personalized. The Sitecore.Context.Item returns the current item, i.e. … Continue reading
Posted in c#, General .NET, Sitecore 6, Sitecore 7
Tagged datasource, DMS, Personalization, sc:FieldRenderer, Sitecore, Sitecore.Context.Item, sublayout
9 Comments
Get the Sitecore Sublayout from your .aspx page (Usercontrol)
How do you get the Sitecore Sublayout from a Usercontrol? A Sitecore Sublayout (Sitecore.Web.UI.WebControls.Sublayout) is a container for your Usercontrol (.ascx) page. Therefore the Sublayout is retrieved by typecasting the parent to a Sublayout: Having the Sublayout in hand enables … Continue reading
Posted in c#, General .NET, Sitecore 5, Sitecore 6
Tagged datasource, Sitecore, Sitecore Foundry, sublayout, Usercontrol
5 Comments
Applying datasource to sublayouts on Sitecore items
In Sitecore you can apply a datasource to a sublayout when adding it to a template/item. But the datasource is not automatically used. Your context will not change to the item specified in the datasource. The datasource is therefore not … Continue reading
Posted in Sitecore 5, Sitecore 6
Tagged datasource, RenderingDefinition, Sitecore, sublayout
11 Comments