We often create multilingual websites using Sitecore’s powerful CMS. Sitecore has a great solution for multilingual content. Each item in the content tree can include a number of item versions, and each item version can be delivered in a different language, so translation of content is simple and straightforward. Well, not exactly. These item versions […]
Posts Tagged ‘.net’
4 Easy Steps to Custom Sections in web.config
In a recent project, I used the web.config file to store some configuration settings that could easily be modified without redeploying code. I used the standard appSettings in <configurations><appSettings><add key=”” value=”” /> . This works great when you have a specific key name and value. For one specific setting, I needed a little more flexibility. I created a custom […]
Getting Access Tokens for both SharePoint and Microsoft Graph
A few days ago, I was working on a project and needed to know if it was possible to access a user’s Exchange Online calendar using the same access token used to access list data in one of their SharePoint Online site collections. The Microsoft documentation is confusing due to the rapid pace of change […]
Getting Started with Sitecore Cookie-Based Personalization Rules
While working on my current project we ran into a requirement to personalize content based on a cookie that is generated on certain actions within the site. Sitecore out-of-the-box personalization rules do not contain a rule to check for cookies and personalize content based on the existence of a cookie or a value contained within it. […]
Ins and Outs of async and await
C# 5.0 introduced two new keywords: async and await. These keywords have a very powerful effect that can be used without fully understanding them. This is a double-edged sword. It’s great to have a language feature that doesn’t take much time to implement, but at the same time, if there isn’t at least a basic understanding, […]
Sitecore Powershell – Update field values
The Powershell module for Sitecore is quickly becoming one of my new favorite Sitecore tools. I’m still learning the Sitecore Powershell ropes and with the help of various blog posts, including the series started by Jon Upchurch, I’m slowly getting better with it. This week a project required an update to certain links that were contained […]
A Form Routing Gotcha with ‘SitecoreRouteName’
The Problem When utilizing the Html.BeginRouteForm() or Ajax.BeginRouteForm() in a view to render a form tag, it is common to define the route using ‘Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName,’ which returns the path to the current page. So far, pretty easy stuff for setting up a form. In my particular case, I was POSTing an AJAX form and loading a second […]
Final Rendering Deleted After Item Update
I recently had an issue with the Final Renderings being deleted from my pages after I updated a component in the Experience Editor. After a lot of Googling and working with Sitecore Suppport, we found a solution that resolved the issue for us. This specific resolution was not available in any of the posts that […]
Sitecore – Hidden Gems
Recently I was working with Sitecore Support to resolve an issue that I was running into with a page. During the process they asked me to generate a package of the item from the \admin page. I’ve been working with Sitecore for a few years and used things like the \admin\showconfig.aspx page. But I’ve never […]
7 Reasons to Avoid Over-Personalization in Sitecore XP
Before I get started, let me be clear, I am very much of the belief that a personalized customer experience can grow conversion by at least 20% compared to a contextually irrelevant site. Relevancy matters, so please put away your torches and pitchforks and let me clarify. I have started to see a trend where […]
Sitecore PowerShell Extensions Pt.1: The What and the Wow
I still cannot believe that there are Sitecore developers out there that are still not using Sitecore Powershell Extensions. Since I discovered SPE, it’s saved me what I can only estimate as being hundreds of hours of headaches and hundreds of dollars in therapist bills! Admittedly, there’s a pretty steep learning curve, but the ROI […]
Sitecore WFFM – View Compilation Error after Upgrade to 8.1
After fixing the controller not found exception following our client’s recent upgrade to Web Forms for Marketers 8.1, all of our forms continued to throw an exception on load: Compilation Error. CS0104: ‘Constants’ is an ambiguous reference between ‘Sitecore.Forms.Mvc.Constants’ and ‘SitecoreDemo.Constants’. Web Forms for Marketers installs several views and editor templates into your Sitecore installation at […]