Automating Sitecore Builds using Jenkins

It is often an expensive task to manually publish both code and content for a Sitecore site manually to an integration environment. Usually, a person is assigned to be a “build master”, responsible for checking out and compiling code, making sure that everything works...

Using GlassCast for Sitecore Items

One very useful Glass Mapper method is called GlassCast. This method is essentially used to convert a regular Sitecore.Data.Items.Item into an Glass Mapper object that you have created. It’s really handy when you have issued queries in your code for certain...

Add Custom Classes to Sitecore WFFM

In the Form Designer property panel, there is an option “CSS Class ” for you to choose which css class to apply.  Shown as the screenshot below: You can add additional custom class names to this dropdown list by adding  Extended List Item to the following path:...

Disable Language Embed in Sitecore Links

Because Sitecore is a CMS that supports multiple languages, you may often notice that links generated from code have the language specified in the link (for example, ‘en’). If you don’t want the language embedded in generated links, you can disable that...

Sitecore WFFM Analytics

Sitecore’s Web Form for Marketers module comes with its own analytics, in addition to those provided by Sitecore. You can access those analytics by highlighting a particular form and clicking the ‘Form Reports’ button in the Content Editor ribbon. See the screenshot...

Permissions For Sitecore Page Editor

We are strong proponents of allowing content authors to perform all of their authoring tasks using nothing but the Page Editor. However, you have to be familiar with the permissions required to perform certain actions in the Page Editor. Here are some quick points on...

Workflow Permissions In Sitecore

I ran across an issue last week while working on a project. I had set up role based access to certain content items in the Sitecore tree, with inheritance for child items. However, I noticed that users that were members of that role did not have permissions to change...

Using Glass Mapper With Sitecore 7 MVC

Before we begin, the first question you may ask is: what is Glass Mapper? Simply put, it is an ORM tool. Traditional ORM tools (like NHibernate, or Entity Framework) connect to databases, and model classes in your Visual Studio project around objects that exist in...

Get Media Url From Sitecore Image Field

If you have a sublayout that needs to get the URL of a media item, such as an image (item[“Image”]), here is a quick tip on how you can get that media URL in Sitecore.   Item item = Sitecore.Context.Item; Sitecore.Data.Fields.ImageField imgField =...