Archive for April, 2013

On-page editing and forms editing stop working in EPiServer 7

April 23rd, 2013

Working in EpiServer 7 we discovered that some pages, without any obvious reason, were suddenly not editable anymore.
Navigating in edit mode, the particular pages did not get the onpage edit borders and clicking the forms editing button would just make the ajax loader keep going forever. No errors in the logfile either.

After some troubleshooting, we found that the defective pages became corrupt as soon as the property Preamble was edited.

The solution was to rename the property “Preamble” to something else. It seems any property at all named “Preamble” will cause this error. Why that causes corrupt pages though, remains a mystery.

Environment:
EPiServer CMS 7 patch 2 with “EPiServer 7.1″ Add-On package. (7.0.586.8 + 7.1 Add-ons)

Custom settings for link properties in EPiServer CMS

April 1st, 2013

Even though a solution for this is already out there, albeit somewhat incoherent, way too many EPiServer websites lack the ability to limit the selection of pages editors may choose from when selecting a link in Edit mode. Editors cost money, and we need to keep them efficient and happy; that is in fact one of the primary objectives of a CMS system.

(more…)

Configure IIS to permanently (301) redirect to www domain address

April 1st, 2013

Here’s a tiny web.config file for making sure a website is configured to redirect (using 301 status code) to another website, often useful when a redirection to the www.domainname.com version is necessary. (Important for SEO)
(more…)

Get nice exception output from service for Ajax

April 1st, 2013

Debugging REST services called by AJAX can be tiresome, so here’s an easy way to get a nice formatted error output from the response.
(more…)

EPiServer custom property: Multiple Category checkbox list from specific sub category

April 1st, 2013

Sometimes editors have to select multiple categories from a long list, including other category nodes which might not be relevant for that page.

This is a custom property which you can configure to only list categories from a certain category parent. The editors can then select multiple categories directly from a list of checkboxes.
(more…)