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
- C# get results from Task.WhenAll
- C# Get expiry timestamp from JWT token
- Run tasks in parallel using .NET Core, C# and async coding
- Handling "415 Unsupported Media Type" in .NET Core API
- 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: rules
Sitecore create custom Content Editor Warnings using Conditions and Rules
The Content Editor Warnings are these yellow boxes that hover over your content in the Content Editor in Sitecore: In the old days we would make them by hooking into the getContentEditorWarnings pipeline. Nowadays we use the Sitecore Rules engine. … Continue reading
Posted in c#, General .NET, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Conditions, ContentEditorWarnings, RuleContext, rules, Sitecore, Warning, Yellow Box
Leave a comment
Sitecore Rule – Personalize based on any field in any facet in your Contact
This Sitecore Personalization Rule was developed by my colleague Martin Rygaard with the purpose of being able to personalize on any field in any facet on a contact. STEP 1: CREATE THE CONDITION Create a new “Condition” below /sitecore/system/Settings/Rules/Definitions/Elements/??? The text … Continue reading
Posted in .net, c#, Sitecore 7, Sitecore 8
Tagged Contact, Facet, Personalization, rules, Sitecore
4 Comments
Custom rules and conditions for Sitecore personalization
In Sitecore it is possible to change the sublayouts or data sources on a page depending on conditions. This means that users can see the same page differently, depending on a set of rules. Sitecore comes standard with a set of standard … Continue reading
Posted in .net, c#, Sitecore 6, Sitecore 7
Tagged Conditions, IntegerComparisonCondition, RuleContext, rules, Sitecore
7 Comments