Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# DateTime to UNIX timestamps
- .NET API CORS: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header.NET API
- C# JWT Token Get Expiry Timestamp
- C# Azure Table Storage QueryAsync, Paging and Filtering
- C# Use HttpClient to GET JSON from API endpoint
- C# Calculate Week Number from DateTime
- C# get results from Task.WhenAll
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 and .net, 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 and .net
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 and .net
7 Comments