Create EPiServer Composer functions with Page Type Builder

In this post we look at how to create Composer functions, such as layout blocks and content blocks, with Page Type Builder. [ Read full article ]

03 September 2011  0 Comments


Create an EPiServer Composer page type with Page Type Builder

Here we look at how to create a new Composer page type and template using EPiServer Composer 4 and Page Type Builder. [ Read full article ]

03 September 2011  0 Comments


Using config transforms with EPiServer

This post shows how to apply config transforms to elements with custom XML namespace attributes, such as the EPiServer element. [ Read full article ]

30 June 2011  0 Comments


Create new dynamic content in EPiServer

One way to create more dynamic page templates in EPiServer is to use dynamic content. Here's an example of how to create dynamic content including dynamic content settings. [ Read full article ]

28 September 2010  0 Comments


Unit test an EPiServer 6 website using Visual Studio 2010 and MSTest

When unit testing it can be tricky being dependent on a web context. In this post we'll look at how to start EPiServer and run it outside of a web application to make unit testing easier. [ Read full article ]

09 August 2010  0 Comments


Run EPiServer CMS 6 on ASP.NET 4.0

Getting EPiServer CMS 6 up and running on ASP.NET 4.0 is easy, although it should be noted that EPiServer doesn't officially support ASP.NET 4.0 yet. [ Read full article ]

09 August 2010  0 Comments


Use UpdatePanel inside an EPiServer custom property

In order to use ASP.NET AJAX inside an EPiServer custom property you have to have a ScriptManager present. Here's an example of how to add one programmatically. [ Read full article ]

06 August 2010  0 Comments


Map EPiServer properties to custom property controls

The PropertyControlClassFactory class makes it easy to map EPiServer properties to custom property controls to modify how properties are rendered. [ Read full article ]

04 August 2010  0 Comments


Loading and saving a custom property value with PropertyUserControlBase

The PropertyUserControlBase class in Template Foundation has been updated with two new events called PropertyLoad and PropertySave, making it easier to load and save the property value. [ Read full article ]

30 July 2010  0 Comments


Custom properties in EPiServer using user controls

EPiServer Template Foundation makes it a lot easier to create custom properties based on user controls. In this post we go through the steps needed to create a new custom property in EPiServer and... [ Read full article ]

25 July 2010  0 Comments


Introduction to EPiServer properties

This post tries to clarify what an EPiServer property is and how it works, primarily to enable us to better develop custom properties for EPiServer websites. [ Read full article ]

25 July 2010  0 Comments


New EPiServer website using Template Foundation

In this post we'll look at how to set up an EPiServer CMS 6 website from scratch based on EPiServer Template Foundation. [ Read full article ]

19 July 2010  0 Comments


Using config transforms for EPiServer settings

The build-specific configuration transforms that came with Visual Studio 2010, more specifically MSBuild 4, offer a pretty clean way of managing build-specific configurations. Here's a way of doing... [ Read full article ]

19 July 2010  0 Comments


Introduction to EPiServer Template Foundation

In this post we’ll look at how to include EPiServer Template Foundation in your EPiServer project in order to use the different page type base classes and publish EPiServer pages using Windows Live... [ Read full article ]

19 July 2010  0 Comments


ClassFactory not initialized exception in InitializableModule

The new initialization system in EPiServer 6 can be used to execute logic in a specific order on startup. This post explains how to ensure your startup modules are executed after the DataFactory ha... [ Read full article ]

01 July 2010  0 Comments


Security exceptions when using Page Type Builder

When adding Page Type Builder to an EPiServer project you may run into security exceptions because the assemblies aren't fully trusted. Luckily, fixing it is quick and painless! [ Read full article ]

02 June 2010  0 Comments


Cache objects in EPiServer with page dependencies

EPiServer comes with its own set of cache management classes to help you cache objects which depend on specific EPiServer pages, and also ensure cache updates are propagated among multiple web... [ Read full article ]

26 May 2010  0 Comments


EPiFramework, an open-source framework for EPiServer 6, will be presented at Partner Summit

At EPiServer Partner Summit we'll present an upcoming open-source framework for EPiServer 6 which aims to reduce repetitive tasks and extend EPiServer core functionality by adding MetaWeblog suppor... [ Read full article ]

25 May 2010  0 Comments


Attach EPiServer event handlers on startup using InitializableModule

Explanation of the new InitializableModule concept in EPiServer 6 which is used to implement functionality that should execute when an EPiServer site starts, for example to attach event handlers. [ Read full article ]

21 May 2010  0 Comments


Create a new page language branch programmatically in EPiServer

This article describes how to create a new language branch programmatically for an existing page in EPiServer. [ Read full article ]

21 May 2010  0 Comments


Create a page programmatically in EPiServer

Code sample demonstrating how to create new EPiServer pages programmatically using the DataFactory class. [ Read full article ]

21 May 2010  0 Comments


Search pages in EPiServer using FindPagesByCriteria

How to find pages in EPiServer by searching using the FindPagesWithCriteria method. The code sample describes how to search in EPiServer using criterias based on page properties. [ Read full article ]

20 May 2010  0 Comments


Create a new EPiServer page using PageTypeBuilder

Create a new page without PageTypeBuilder To create an EPiServer page without PageTypeBuilder, check out my post on how to create and publish a page programmatically in EPiServer . Create a new pag... [ Read full article ]

17 December 2009  0 Comments

Tags:


Set the default language in EPiServer

Specify language for a domain in EPiServer You can set the default language in EPiServer on a per-domain basis by adding a <siteHosts> element to your configuration: < site description ="My website... [ Read full article ]

16 December 2009  0 Comments

Tags:


Which EPiServer topics interest you?

Vote for your favorite subjects Writing articles is more fun when you know there are people besides yourself that have an interest in them! :) Help me out by letting me know what kind of EPiServer... [ Read full article ]

14 December 2009  0 Comments

Tags:


Translate custom tab names in EPiServer CMS

Localize tab names in EPiServer I usually name all properties, page types, tabs etc in English. I then create an XML file in the lang folder called mysitename UI.XML. To have tab names appear in th... [ Read full article ]

09 December 2009  0 Comments

Tags:


Introduction to the PageTypeBuilder project

An introduction to Joel Abrahamsson's PageTypeBuilder project for EPiServer. Here I go through the basics of defining a strongly typed page type including page type inheritance. [ Read full article ]

08 December 2009  0 Comments


How to set up an EPiServer website

This post mainly aims to complement Frederik Vig’s posts on setting up a new EPiServer site with some comments and pointer that I find valuable. [ Read full article ]

08 December 2009  0 Comments


How to set up an EPiServer website

Comments to Frederik Vig’s blog series Frederik Vig in Norway has started publishing an excellent blog post series on how to set up an EPiServer site from scratch . This post mainly aims to... [ Read full article ]

08 December 2009  0 Comments

Tags:


The EPiServer “What’s My Size Gadget”

Tight deadline for the EPiServer Gadget Contest The following tweet caught my attention today: I quickly realized that I had to put something together – and quickly – if I wanted to be in the... [ Read full article ]

30 November 2009  0 Comments

Tags:


Introduction to EPiServer Dynamic Data Store (DDS)

Goal of the implementation In this post we’ll go through the steps of implementing page comments using the Dynamic Data Store . Focus will be the data store , not the UI parts of commenting! :) Add... [ Read full article ]

20 October 2009  0 Comments

Tags:


Create a gadget for EPiServer 6 using ASP.NET MVC

Pre-conditions Before continuing, make sure you’ve installed: EPiServer CMS 6 CTP 2 ASP.NET MVC 1.0 ASP.NET MVC 1.0 is available as a separate download , but I chose to install it through Microsoft... [ Read full article ]

19 October 2009  0 Comments

Tags:


First impressions of EPiServer CMS 6 CTP 2

Update: EPiServer CMS 6 CTP 2 is now publicly available for download from EPiServer World Talking points on EPiServer 6 Some of the most important talking points on EPiServer CMS 6 include: New... [ Read full article ]

18 October 2009  0 Comments

Tags:


Introduction to EPiServer Dynamic Data Store (DDS)

This post provides an introduction to the Dynamic Data Store, or DDS, which was introduced with EPiServer 6. [ Read full article ]

12 October 2009  0 Comments


Parse an EPiServer XHTML property with Dynamic Content

Render Dynamic Content without the Property control Outputting EPiServer property values are often done using the EPiServer Property control: < EPiServer:Property PropertyName ="MainBody" runat... [ Read full article ]

16 September 2009  0 Comments


Parse an EPiServer XHTML property with Dynamic Content

This post explains how to parse XHTML which contains dynamic content in EPiServer so that we can retrieve the actual markup. [ Read full article ]

16 September 2009  0 Comments


Overview of EPiServer versus Umbraco

EPiServer vs. Umbraco, purpose of this post Both developers and clients have on numerous occasions asked me what the differences are between EPiServer and Umbraco , which one is the “best”, why... [ Read full article ]

22 August 2009  0 Comments


Introduction to the PageTypeBuilder project

An introduction to Joel Abrahamsson's PageTypeBuilder project for EPiServer. Here I go through the basics of defining a strongly typed page type including page type inheritance. Also cross-posted o... [ Read full article ]

12 August 2009  2 Comments


Friendly URL instead of querystring in EPiServer

What we are trying to achieve A website contains a blog post listing with tagged posts. The tags are presented in a tag cloud and the tags should link to filtered post listings (displaying only pos... [ Read full article ]

18 July 2009  0 Comments

Tags:


Friendly URL instead of querystring in EPiServer

I have previously posted a fairly lengthy example on how to implement a friendly URL rewriter in EPiServer . This post does almost the same thing, but I believe this example is a bit more pedagogic... [ Read full article ]

01 July 2009  5 Comments


EPiServer and ASP.NET AJAX

Script error after ASP.NET AJAX postback in EPiServer I had two seemingly identical EPiServer websites, each running EPiServer CMS 5 R2 SP1. However, on one of the websites a peculiar script error... [ Read full article ]

29 June 2009  2 Comments


Property is contained in a page/control/template that does not have a current page

I recently came across a website for a hospital and noticed an error message that seemed familiar: The error message states: [Error: Property is contained in a page/control/template that does not... [ Read full article ]

19 June 2009  2 Comments


Javascript errors in EPiServer edit and admin mode

Problem description Javscript errors in the EPiServer UI can produce pretty discrete anomalies, depending on your browser debug settings. For example, the EPiServer admin mode may appear to be... [ Read full article ]

13 June 2009  0 Comments


Managing e-mail subscriptions in EPiServer

Background E-mail subscription in EPiServer CMS 5 is based on ASP.NET profiles. Starting and stopping subscriptions through code is easy, but I was missing a plugin where administrators could easil... [ Read full article ]

14 April 2009  0 Comments

Tags:


Managing e-mail subscriptions in EPiServer

In this post we create an admin plugin for EPiServer which allows administrators to add or remove e-mail subscribers. [ Read full article ]

14 April 2009  0 Comments


Managing e-mail subscriptions in EPiServer

Background E-mail subscription in EPiServer CMS 5 is based on ASP.NET profiles. Starting and stopping subscriptions through code is easy, but I was missing a plugin where administrators could easil... [ Read full article ]

14 April 2009  1 Comments


A new EPiServer page link control

Being able to specify the inner text and title of an EPiServer page link If you want to insert a link to an EPiServer page based on a page property you can simply add a Property control to your pag... [ Read full article ]

06 April 2009  0 Comments

Tags:


A new EPiServer page link control

  This post describes how to implement a basic server control which extends the HyperLink control to allow for easy linking to EPiServer pages. Being able to specify the inner text and title of an... [ Read full article ]

06 April 2009  8 Comments


Implement a stock quote ticker using Silverlight (part 2/3)

This is the second post in a series demonstrating how to retrieve stock quotes from a web service, present them using Microsoft Silverlight, and finally enable EPiServer editors to insert such stoc... [ Read full article ]

30 March 2009  1 Comments


Implement a stock quote ticker using Silverlight (part 3/3)

This is the final post in a series demonstrating how to retrieve stock quotes from a web service, present them using Microsoft Silverlight, and finally enable EPiServer editors to insert such stock... [ Read full article ]

30 March 2009  2 Comments


Implement a stock quote ticker using Silverlight (part 1/3)

Goal of the implementation In this series of posts I’ll walk you through implementing a Silverlight control for displaying a share ticker on an EPiServer website using dynamic content: Prerequisite... [ Read full article ]

30 March 2009  3 Comments


Implement a stock quote ticker using Silverlight (part 3/3)

Create a Silverlight dynamic content control If you haven’t already you may want to start by reading part 1 or part 2 of this series. Reference the Silverlight assembly To be able to make use of th... [ Read full article ]

30 March 2009  0 Comments


Implement a stock quote ticker using Silverlight (part 2/3)

Creating the visual stock quote ticker in XAML If you haven’t already you may want to start by reading part 1 of this series. First we create our basic background layout, consisting of two Grid... [ Read full article ]

30 March 2009  0 Comments


Implement a stock quote ticker using Silverlight (part 1/3)

Goal of the implementation We want to be able to add dynamic content to an EPiServer website to get a Silverlight stock quote ticker like this on any page: Prerequisites In order to complete this... [ Read full article ]

30 March 2009  0 Comments


Integrating help documentation for editors in EPiServer

Background Have you ever delivered documentation, manuals or user guides to a customer in the form of PDF, Word documents or similar in the past? Unless you just “dare say no to documentation”, my... [ Read full article ]

15 March 2009  0 Comments

Tags:


Integrating help documentation for editors in EPiServer

Background Have you ever delivered documentation, manuals or user guides to a customer in the form of PDF, Word documents or similar in the past? Unless you just “dare say no to documentation”, my... [ Read full article ]

15 March 2009  5 Comments


Adding a custom plugin button to unpublish a page in EPiServer

I was recently in a discussion where the topic of unpublishing pages in EPiServer came up. Fredrik Haglund mentioned that some customers want to have an “ Unpublish ” button, and I agree. Some... [ Read full article ]

12 February 2009  16 Comments


Adding a custom plugin button to unpublish a page in EPiServer

I was recently in a discussion where the topic of unpublishing pages in EPiServer came up. Fredrik Haglund mentioned that some customers want to have an “ Unpublish ” button, and I agree. Some... [ Read full article ]

12 February 2009  0 Comments

Tags:


EPiServer Day is coming up!

EPiServer Day, March 10–11, 2009 About one month remains until this year’s EPiServer Day , and it seems it’ll be two jam-packed days full of interesting sessions and keynotes held by both EPiServer... [ Read full article ]

05 February 2009  0 Comments


Check if a dynamic property has been specified on the current page

Dynamic properties versus page properties As you probably know, dynamic properties are like page properties in many ways, except they do not need to be set specifically on a per-page basis. Dynamic... [ Read full article ]

03 February 2009  0 Comments

Tags:


Check if a dynamic property has been specified on the current page

Dynamic properties versus page properties As you probably know, dynamic properties are like page properties in many ways, except they do not need to be set specifically on a per-page basis. Dynamic... [ Read full article ]

03 February 2009  7 Comments


Customize the search experience with Search Server 2008

I recently posted an article on how to use Search Server 2008 for local searches on a website or intranet . In this post I’ll focus on the search query XML schema used by Search Server 2008 and how... [ Read full article ]

23 January 2009  3 Comments


Customize the search experience with Search Server 2008

The Search Server XML query schema The XML used to submit queries to Search Server 2008 is actually quite easy to use. There are a number of different parameters you can specify, but most of them a... [ Read full article ]

22 January 2009  0 Comments


Using EPiServer and Microsoft Search Server 2008

If you're interested in EPiServer and Microsoft Search Server you may also want to have a look at the post  Customize the search experience with Search Server 2008 . Introduction Microsoft Search... [ Read full article ]

20 January 2009  19 Comments


Using EPiServer and Microsoft Search Server 2008

Introduction Microsoft Search Server 2008 is a stand-alone search server built upon the search technology originally developed for Microsoft Office Sharepoint Server , or MOSS for short. However,... [ Read full article ]

20 January 2009  0 Comments


Adding multiple links using the Link Collection property in EPiServer

Background The LinkItemCollection class was a truly appreciated addition when EPiServer CMS 5 R2 was released. Part of the EPiServer.SpecializedProperties namespace the LinkItemCollection class is ... [ Read full article ]

12 December 2008  17 Comments


EPiServer CMS 5 R2 gives 'Sys' is undefined on IIS7

Yet another troubleshooting tip for the dreaded 'Sys' is undefined error This post won't reveal any exciting new features, techniques, or patterns. However, if you're troubleshooting some ASP.NET... [ Read full article ]

09 December 2008  20 Comments


Localize page type and page property names in EPiServer

Strategy for page type and property names and help texts I usually recommend viewing English (either en-GB or en-US ) as the default master language for globalized web sites. This results in the... [ Read full article ]

08 September 2008  0 Comments

Tags:


Localize page type and page property names in EPiServer

This post shows how to translate page type and property names and descriptions to have them appear in the correct language in the editor interface when globalization is enabled for an EPiServer web... [ Read full article ]

08 September 2008  0 Comments


Localize page type and page property names in EPiServer

This post shows how to translate page type and property names and descriptions to have them appear in the correct language in the editor interface when globalization is enabled for an EPiServer web... [ Read full article ]

08 September 2008  0 Comments

Tags:


Localize page type and page property names in EPiServer

This post shows how to translate page type and property names and descriptions to have them appear in the correct language in the editor interface when globalization is enabled for an EPiServer web... [ Read full article ]

08 September 2008  9 Comments


How to get the internal URL or page reference based on a friendly URL in EPiServer

The goal of the implementation We want to be able to get the internal URL based on a friendly URL. In other words we want to be able to call a method like: string internalUrl = GetInternalUrl(frien... [ Read full article ]

04 September 2008  0 Comments

Tags:


How to get the internal URL or page reference based on a friendly URL in EPiServer

I have previously described how to get the simple address of a page and how to get the friendly URL of a page in EPiServer . This post explains how to get the PageReference object or internal URL... [ Read full article ]

04 September 2008  5 Comments


How to make virtual path providers work with precompiled EPiServer websites

Note: This is an experimental workaround. It is not supported by EPiServer nor Microsoft. Introduction Earlier I wrote a post on how you can Precompile your web site to publish it without source co... [ Read full article ]

03 September 2008  4 Comments


Precompile your website and publish it without source code or markup

IMPORTANT: This approach won't work with EPiServer CMS 5 unless you implement this experimental workaround EPiServer CMS 5 uses virtual path providers which aren't supported by the .NET framework f... [ Read full article ]

02 September 2008  6 Comments


Using web parts in EPiServer

As Stein Viggo points out in his EPiServer on Steroids post, traditional page type templates can limit editor creativity. Having editors enter values for page properties and placing these values... [ Read full article ]

26 August 2008  11 Comments


Using web parts in EPiServer

This article explains how to use web parts for EPiServer templates using the Web Part Framework for EPiServer which is available on EPiCode. [ Read full article ]

26 August 2008  0 Comments


Run a scheduled job as a specific EPiServer user

As noted in my post about how to Create a custom scheduled job in EPiServer all scheduled runs will execute as an anonymous user whereas jobs that are executed manually are run as the current... [ Read full article ]

18 August 2008  3 Comments


Run a scheduled job as a specific EPiServer user

This post shows how to login to an EPiServer site programmatically, for example to execute a scheduled job as a specific user. [ Read full article ]

18 August 2008  0 Comments


Run a scheduled job as a specific EPiServer user

How to log on programmatically as a specific EPiServer user Logging on as a specific user through code is an easy task in EPiServer. In fact you do not even have to know the password of the user yo... [ Read full article ]

18 August 2008  0 Comments

Tags:


How to get the simple address of a page in EPiServer

The following code snippet shows how to retrieve the simple address of a page in EPiServer. If you want to retrieve the friendly URL of an EPiServer page instead, please see my post on How to get t... [ Read full article ]

15 August 2008  0 Comments

Tags:


How to get the simple address of a page in EPiServer

This post explains how to get the simple address of a page, if any. As it turns out, it's just a matter of getting the PageExternalURL property. [ Read full article ]

15 August 2008  0 Comments


How to get the simple address of a page in EPiServer

Implementing the GetSimpleAddress() method The following method returns the simple address of a page in EPiServer: public string GetSimpleAddress(PageData page) { string url;   //Fetch the simple... [ Read full article ]

15 August 2008  0 Comments

Tags:


How to get the simple address of a page in EPiServer

The following code snippet shows how to retrieve the simple address of an EPiServer page. If you want to retrieve the friendly URL of an EPiServer page instead, please see my post on How to get the... [ Read full article ]

15 August 2008  3 Comments


Create a custom scheduled job in EPiServer

This post explains how to create a scheduled job in EPiServer CMS. Introduction A scheduled job in EPiServer is essentially a piece of code that will be executed repeatedly at a given time interval... [ Read full article ]

08 August 2008  3 Comments


Create a scheduled job in EPiServer

This post explains how to create a scheduled job in EPiServer CMS. [ Read full article ]

08 August 2008  0 Comments


Create a scheduled job in EPiServer

This post explains how to create a scheduled job in EPiServer CMS. [ Read full article ]

08 August 2008  0 Comments

Tags:


Create a custom URL rewrite provider for EPiServer

Post explaining how to implement a custom URL rewrite provider in EPiServer by inheriting the FriendlyUrlRewriteProvider class and customizing its behavior. [ Read full article ]

24 July 2008  0 Comments


Implementing a custom URL rewrite provider for EPiServer

Introduction I'm a firm believer in avoiding querystring parameters in URLs, especially for public web sites. Security, SEO and esthetics are a few reasons why. Custom URL rewriting can help you... [ Read full article ]

24 July 2008  9 Comments


When the edit interface works but all pages return 404

This is just a friendly reminder about what to do when all EPiServer pages return a plain 404 File not found, but the edit and admin interfaces work perfectly well. You may even notice that the sit... [ Read full article ]

30 June 2008  1 Comments


Using a single domain strategy with multiple languages in EPiServer

Introduction This post covers one way of enforcing a domain strategy for multi-language (or multi-division) sites. There are two common scenarios for multi-language site domain strategies: Use one... [ Read full article ]

04 April 2008  4 Comments


Using LINQ and EPiServer

Just as a brief proof of concept I decided to use a LINQ statement to retrieve and sort a list of EPiServer pages. If you haven't yet come across LINQ I would recommend Scott Guthrie's post on usin... [ Read full article ]

10 March 2008  104 Comments


Modify and publish a page programmatically

Inspired by Marek's post on modifying existing pages I  decided to complement my post on programmatically publishing new pages with a post on how to modify and publish existing pages in EPiServer. ... [ Read full article ]

06 March 2008  5 Comments


Create and publish a page programmatically

This post explains in detail how to programmatically create a page in EPiServer CMS 5. It also shows how to publish a page through code, even when the current user lacks the necessary permissions. ... [ Read full article ]

05 March 2008  10 Comments


Search by language branch in EPiServer

This post is a complement to my previous post about searching pages with EPiServer . I have gotten a few questions about how to limit a page search to include pages from a specific language branch.... [ Read full article ]

02 March 2008  5 Comments


Search for EPiServer pages based on properties

This post aims to clearly illustrate a way of searching for EPiServer pages based on property values. By specifying search criteria and a place to start the search you'll get a PageDataCollection... [ Read full article ]

26 February 2008  12 Comments


Check to see if a page exists for a specific language branch

Have you ever wanted to know if a specific EPiServer page exists for a specific language? I recently came across an implementation that looked something like this: try { DataFactory.Instance.GetPag... [ Read full article ]

11 February 2008  2 Comments


Programmatically configure customErrors redirects

I previously posted a possible solution for handling 404 exceptions in EPiServer websites, but here's an alternative and possibly more elegant way of configuring custom error redirects for EPiServe... [ Read full article ]

09 February 2008  11 Comments


How to get the friendly URL of a page in EPiServer CMS

Maybe there are other posts about this, but I thought I'd share an easy way of getting the friendly URL of a page since I've gotten questions about it on numerous occasions: public static string... [ Read full article ]

07 February 2008  9 Comments


Handle 404 exceptions in EPiServer CMS

As many of you know, there is a comprehensive 404 handler available for download through EPiCode. However, I just wanted a simple way of specifying a PageID and have that page act as a 404 response... [ Read full article ]

07 February 2008  10 Comments


Ted Nyberg (Ted & Gustaf)

About me

I'm an EPiServer solution architect and web developer at Ted & Gustaf in Stockholm, Sweden.

I cross-post and publish additional articles on tedgustaf.com.

You'll find my contact details here.

EMVP, EPiServer Most Valued Professional

MCPD, MCTS and MCP logos

Follow me on Twitter

Bloggtoppen.se

Add to Technorati Favorites

Syndications


Archive


Tag cloud

EPiTrace logger