Archive for the ‘Sitecore’ Category

Sitecore in two minutes

The Sitecore content tree represents a database. Everything in the tree is an item and the data model for each item is called a template.

ASP.NET code is used to create layouts and sublayouts. A layout is an aspx file that behaves like an ASP.NET masterpage. Typical layouts are One Column Layout, Two Column Layout and Print Layout which equate to a header and footer with a content area, header and footer with a content area and side bar, and a cut down print layout.

Sublayouts are the smaller coded components that make up a page. Examples include the main navigation menu, recent news items, sidebar tag cloud etc. These components could be modular and able to be moved or they can be fixed within the location of layouts.

You write ASP.NET code to make controls and to access data to populate the templates on each item. If your page has a title tag, your code would access the field “Title Tag” from the template (template is the data model for the item).

There are two ways to code. One uses the Sitecore Developer Center that lets you create layouts and sublayouts – this is like using Visual Studio in Design Mode. The other way uses Visual Studio to build the layouts/sublayouts and point to them in the section of the Sitecore tree called Layouts. Each layout and sublayout item has a path that maps to either an aspx or ascx file respectively. The layout and sublayout items are then used via the Presentation > Details tabs for each item in Sitecore.

You can also use XSLT files to generate HTML from database items however you are not afforded the luxury of debugging. XLST files are called Renderings by Sitecore and are also referenced in the Layout section of the Sitecore tree.

Categories: Sitecore

Sitecore 6.2 – CryptographicException file not found

If you get this error after upgrading your Sitecore project to VS2010 remember to set the Target Framework back to 3.5 under the Project Properties.

The failure occurred in the Sitecore.SecurityModel.License.LicenseManager class.

Categories: Sitecore

Page events not firing in Sitecore sublayout

If your nested Button or Linkbutton does not fire its associated OnRowEditing, OnRowCommand or other code behind event, you need to add the name of the parent container to the  “typesThatShouldNotBeExpanded” section in the Web.Config. Just like this:


Categories: Sitecore

S4S – Sitecore for Salesforce

So we built a product on a whim and made a good job of it. But S4S is turning out to be really powerful – and companies across the world are coming up with brilliant ways to use it. I guess I should not be so surprised; we all carry 8Gb flash drives in our pockets. But how about this:

1. The Salesforce Lead form is given an extra dropdown field called “Profile”.
2. From Salesforce, the lead is sent an email with the login credentials to the Sitecore CMS site
3. After logging into the site, the content is completely personalised according to the selection made in Salesforce Lead Profile field.

Now how good is that!

Categories: Sitecore

Sitecore for Salesforce

September 30, 2009 Leave a comment

FuseIT have just launched a connector that lets Sitecore talk to Salesforce and vice versa.

Called S4S, the connector allows the transparent bi-directional transfer of Sitecore CMS objects with Salesforce assets. The S4S connector achieves integration at four key levels – security, data, OMS and Salesforce report and dashboard connections. Inherent in the connector are features to make displaying content easier like the paging of list data from Salesforce.

Sitecore have recently built into their CMS a serious analytic’s module called OMS (Online Marketing Suite). FuseIT are busy adding features to S4S so all the OMS information can be exposed in the Salesforce Reports and Dashboard pages. See more about all this at

Categories: Sitecore