Login

Blog entries tagged with EPiServer CMS

Sep
04

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

Posted by: Ted Nyberg

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]

0 Comments

Aug
08

Create a custom scheduled job in EPiServer

Posted by: Ted Nyberg

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]

0 Comments

Mar
05

Create and publish a page programmatically

Posted by: Ted Nyberg

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]

0 Comments

Feb
11

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

Posted by: Ted Nyberg

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]

0 Comments

Feb
09

Programmatically configure customErrors redirects

Posted by: Ted Nyberg

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]

0 Comments

Feb
07

Handle 404 exceptions in EPiServer CMS

Posted by: Ted Nyberg

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]

0 Comments

About

Ted Nyberg

Ted Nyberg

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.

Syndication

EPiTrace logger