Blog entries tagged with EPiServer CMS

Handle 404 exceptions in EPiServer CMS

by: Ted Nyberg (Hallvarsson & Halvarsson)

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  9 Comments


Programmatically configure customErrors redirects

by: Ted Nyberg (Hallvarsson & Halvarsson)

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  5 Comments


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

by: Ted Nyberg (Hallvarsson & Halvarsson)

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... [ Read full article ]

11 February 2008  2 Comments


Create and publish a page programmatically

by: Ted Nyberg (Hallvarsson & Halvarsson)

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  3 Comments

Ted Nyberg (Hallvarsson & Halvarsson)

About me

I work for the corporate communications consultancy Hallvarsson & Halvarsson in Stockholm, Sweden.

My main focus areas are architecture, design and implementation of online applications such as public web sites and intranets.

Live Messenger

Hallvarsson & Halvarsson logo
 MCPD, MCTS and MCP logos


Syndications


Archive


Tag cloud

EPiTrace logger