Quantcast
Channel: briancaos – Brian Pedersen's Sitecore and .NET Blog
Browsing all 274 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Migrating huge amounts of Sitecore content – Use the Sitecore Serializer

Migrating contents from one Sitecore to another is a common task. We move templates, layouts, content, media library items etc. from development to test and from test to production all the time....

View Article


Image may be NSFW.
Clik here to view.

Sitecore Users and C#

The Sitecore security framework is based on the .NET security. Managing Authentication, Authorization, User Accounts and Roles can be done using the standard System.Web.Security namespace. But Sitecore...

View Article


Image may be NSFW.
Clik here to view.

Sitecore Save Dialog appears for unchanged content

Have you ever experienced that Sitecore keeps popping the “Do you want to save the changes to the item?” dialog box, even when you have made no changes to the item? And the box keeps appearing, even...

View Article

Image may be NSFW.
Clik here to view.

Sitecore media library missing PDF icons

When uploading PDF (or Word/Excel/…) documents to the Sitecore media library, the PDF icon is not shown: PDF icon Missing In this case it is only my test server that is not showing the icons. My local...

View Article

Image may be NSFW.
Clik here to view.

Create components for Sitecore Page Editor

This quick tutorial will guide you trough your first Sitecore Page Editable Component. The Sitecore Page Editor is build around the concept of components. A component is a reusable piece of data that...

View Article


Image may be NSFW.
Clik here to view.

Sitecore 404 without 302

It’s a well known issue that when Sitecore displays a 404 page, it’s done by doing a 302 redirect to the 404 page, hence the 302 status code is thrown before the 404. The behavior is partially because...

View Article

Image may be NSFW.
Clik here to view.

The URL-encoded form data is not valid error in Sitecore Page Editor

In ASP.NET 3.5 you may encounter one of the following error messages: “Operation is not valid due to the current state of the object” or: “The URL-encoded form data is not valid” WHY? Microsoft...

View Article

Image may be NSFW.
Clik here to view.

Sitecore 7 is coming: My wish list for Sitecore 7.01

The next big release of Sitecore 7 is on it’s way. This time Sitecore have listened to many MVP’s and have adressed some technical issues. Most of this release revolves around scalability and indexing....

View Article


Image may be NSFW.
Clik here to view.

Sitecore allow email adress as user name

If you try to create a new user in Sitecore with an email address as account name you will be met with a validation error: “user name is not valid in the selected domain.” But do not worry, it’s not...

View Article


Image may be NSFW.
Clik here to view.

Sitecore 6.6: CSRF form field is missing

In the latest version of Sitecore 6.6 (release 13.04.04) I sometimes get this error: Exception: Sitecore.Security.AntiCsrf.Exceptions.PotentialCsrfException Message: CSRF form field is missing. Source:...

View Article

Image may be NSFW.
Clik here to view.

.NET DateTime to JSON UNIX JavaScript datetime

When posting datetimes to web services or REST services, you might need to convert the standard .NET DateTime to a UNIX format. Please note than neither REST, nor JavaScript has its own DateTime...

View Article

Image may be NSFW.
Clik here to view.

Programming for Sitecore DMS Engagement Plans

Sitecore DMS Engagement plans allow you to control some of the specific ways in which your website interacts and communicates with the visitors to your website. Think of engagement plans as a...

View Article

Image may be NSFW.
Clik here to view.

A potentially dangerous Request.QueryString value was detected from the client

One of my colleagues encountered this error in Sitecore 6.6: A potentially dangerous Request.QueryString value was detected from the client You might think that this error was caused by the Microsoft...

View Article


Image may be NSFW.
Clik here to view.

(System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of...

Yesterday I got the following error: Parser Error Message: The base class includes the field ‘IFrame’, but its type (System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control...

View Article

Image may be NSFW.
Clik here to view.

Custom rules and conditions for Sitecore personalization

In Sitecore it is possible to change the sublayouts or data sources on a page depending on conditions. This means that users can see the same page differently, depending on a set of rules. Sitecore...

View Article


Image may be NSFW.
Clik here to view.

Avoid the use of Sitecore.Context.Item

Or: How Sitecore DMS and Personalization killed the Sitecore.Context.Item. This post is about how to properly ensure that you get data from the correct item when you develop websites that can be...

View Article

Image may be NSFW.
Clik here to view.

Merge Sitecore layout details using XmlDeltas

One of the features that Sitecore introduced somewhere in the Sitecore 6.x range is “Layout Deltas“,  the possibility to merge an item’s layout details with the layout details on the item’s __Standard...

View Article


Image may be NSFW.
Clik here to view.

Sitecore ECM 2.1: The target device layout does not include ‘Processes...

When using Sitecore Email Campaign Manager, you might encounter the following error: The target device layout does not include ‘Process Personalization Tokens’ sublayout and ‘Target Item’ rendering,...

View Article

Image may be NSFW.
Clik here to view.

JavaScript ReferenceError: Can’t find variable: __doPostBack

This error can occur in asp.net pages. In certain situations .net will fail to create the __doPostBack JavaScript function and the hidden __EVENTVALIDATION input field. The situations that can cause...

View Article

Image may be NSFW.
Clik here to view.

Register local search terms in Sitecore DMS

When installing Sitecore and DMS, Sitecore comes pre-installed with an Executive Insight Dashboard Report that will generate a report containing which search words users have executed in your local...

View Article
Browsing all 274 articles
Browse latest View live