Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# HttpClient POST or PUT Json with content type application/json
- Using C# HttpClient from Sync and Async code
- Read blob file from Microsoft Azure Storage with .NET Core
- C# Get expiry timestamp from JWT token
- ASP.Net Core API - "'s' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."
- C# Using Newtonsoft and dynamic ExpandoObject to convert one Json to another
- Creating dynamic arrays and lists using Dynamic and ExpandoObject in C#
Archive
Meta
Tag Archives: datasource
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
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
Create components for Sitecore Page Editor
This quick tutorial will guide you trough your first Sitecore Page Editable Component. The Sitecore Page Editor is build around the concept of components. A component is a reusable piece of data that is parred with a sublayout and placed … Continue reading
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