James Gregory

James Gregory

James is an NIU grad with a major in computer science, theoretical emphasis, and math minor. He's been developing websites since 2001. After gaining experience designing custom platforms, e-commerce, and automation solutions James joined AmericanEagle.com in 2013, focusing on Sitecore.

When not tinkering with tech, James enjoys playing a good Eurogame with friends.

HTTP Post Driving  You Postal
Oct
05

HTTP Post Driving You Postal?

The other day I was looking for a way to handle a common dilemma with MVC forms and Sitecore. It goes like this: Put an “Add To Favorites” button in the page header and an email subscription form in the footer. Both do form posts. If the developer uses a common MVC form technique (reusing the action name, just decorating [HttpGet] or [HttpPost]) then both forms get submitted. Sign up for the newsletter and voila, you’ve favorited the page! Whoops. This is because the HTTP post verb is global to the page request.

Read More
Parameter Personalization
Sep
19

Parameter Personalization

Ever need to personalize Sitecore rendering parameters? Sitecore's conditional renderings allow you to override the datasource and/or the component. However we often run into the need to override rendering parameters too. It may be the desire to simply change a color that is specified as a component property. Or it may be something more critical like what I ran into last week with Sitecore Experience Accelerator (SXA). SXA has a mechanism called rendering variants. This is very cool for reusable components, such as Page Content.

Read More
Insights on Application Insights
Aug
07

Insights on Application Insights

Application Insights is an Application Performance Management service which notably has a user interface to filter and view logged messages and is rising in popularity with Sitecore implementations. Sitecore has made an implementation available for cloud deployments that sends Sitecore logging and performance counters to Application Insights. We can borrow it for any Sitecore instance even those not hosted in the cloud.

Read More