Skip to main content

Posts Tagged ‘.net’

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 […]

Sitecore WFFM – Controller Not Found after Upgrade to 8.1

We recently upgraded one of our clients from Sitecore 8.0 to Sitecore 8.1 and had to upgrade to Web Forms for Marketers 8.1 rev. 160304 as part of the upgrade. After upgrading WFFM, all of our forms started to throw the following exception: The controller for path ‘{{form path}}’ could not be found. The project has a custom Controller Factory that uses […]

change management

TLS 1.2 and .NET Support: How to Avoid Connection Errors

I recently ran into an interesting issue when developing a connector for a third-party API. When trying to connect to the API endpoint, I received the following error message: “An error occurred while making the HTTP request to https://<API endpoint>. This could be due to the fact that the server certificate is not configured properly […]

Load More