Blog entries tagged with EPiServer CMS

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

by: Ted Nyberg (Ted & Gustaf)

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 based on a friendly URL . The goal of the... [ Read full article ]

04 September 2008  5 Comments

Create a custom scheduled job in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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, or when an administrator manually executes it... [ Read full article ]

08 August 2008  3 Comments

Create and publish a page programmatically

by: Ted Nyberg (Ted & Gustaf)

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. 1. Specify where to publish the page Start off by... [ Read full article ]

05 March 2008  10 Comments

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

by: Ted Nyberg (Ted & Gustaf)

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.GetPage(myPageLink, new LanguageSelector( "en" ); } catc... [ Read full article ]

11 February 2008  2 Comments

Programmatically configure customErrors redirects

by: Ted Nyberg (Ted & Gustaf)

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 EPiServer. What I wanted to accomplish I wanted to be able... [ Read full article ]

09 February 2008  11 Comments

Handle 404 exceptions in EPiServer CMS

by: Ted Nyberg (Ted & Gustaf)

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. Easier said than done it seems I actually got my... [ 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

You'll find my contact details here.

EMVP, EPiServer Most Valued Professional

MCPD, MCTS and MCP logos

Follow me on Twitter

Add to Technorati Favorites



Tag cloud

EPiTrace logger