Blog entries tagged with Episerver

Create EPiServer Composer functions with Page Type Builder

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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 use user controls for rendering the property in ed... [ Read full article ]

25 July 2010  0 Comments


Introduction to EPiServer properties

by: Ted Nyberg (Ted & Gustaf)

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


Using config transforms for EPiServer settings

by: Ted Nyberg (Ted & Gustaf)

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 it, including a way of managing EPiServer-specifi... [ Read full article ]

19 July 2010  0 Comments


New EPiServer website using Template Foundation

by: Ted Nyberg (Ted & Gustaf)

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


Introduction to EPiServer Template Foundation

by: Ted Nyberg (Ted & Gustaf)

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 Writer through the MetaWeblog API. [ Read full article ]

19 July 2010  0 Comments


ClassFactory not initialized exception in InitializableModule

by: Ted Nyberg (Ted & Gustaf)

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 has been initialized properly. [ Read full article ]

01 July 2010  0 Comments


Security exceptions when using Page Type Builder

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

26 May 2010  0 Comments


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

by: Ted Nyberg (Ted & Gustaf)

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 support, tags, date folder sorting and a whole lot more. [ Read full article ]

25 May 2010  0 Comments


Attach EPiServer event handlers on startup using InitializableModule

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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 page with PageTypeBuilder To be able to create a new... [ Read full article ]

17 December 2009  0 Comments

Tags:


Set the default language in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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" ... > < siteHosts > <!-- Use swedish as the... [ Read full article ]

16 December 2009  0 Comments

Tags:


Which EPiServer topics interest you?

by: Ted Nyberg (Ted & Gustaf)

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 posts you would like to see!   Other ideas for... [ Read full article ]

14 December 2009  0 Comments

Tags:


Translate custom tab names in EPiServer CMS

by: Ted Nyberg (Ted & Gustaf)

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 the correct language (the language chosen by the use... [ Read full article ]

09 December 2009  0 Comments

Tags:


Introduction to the PageTypeBuilder project

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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 complement Frederik’s posts with some comments and pointe... [ Read full article ]

08 December 2009  0 Comments

Tags:


The EPiServer “What’s My Size Gadget”

by: Ted Nyberg (Ted & Gustaf)

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 competition. And I did! Although my chances of actually... [ Read full article ]

30 November 2009  0 Comments

Tags:


Introduction to EPiServer Dynamic Data Store (DDS)

by: Ted Nyberg (Ted & Gustaf)

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 a reference to EPiServer.Data In order to work wi... [ Read full article ]

20 October 2009  0 Comments

Tags:


Create a gadget for EPiServer 6 using ASP.NET MVC

by: Ted Nyberg (Ted & Gustaf)

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’s Web Platform Installer :   Prepare your project... [ Read full article ]

19 October 2009  0 Comments

Tags:


First impressions of EPiServer CMS 6 CTP 2

by: Ted Nyberg (Ted & Gustaf)

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 rich-text editor ( TinyMCE ) that fully supports... [ Read full article ]

18 October 2009  0 Comments

Tags:


Introduction to EPiServer Dynamic Data Store (DDS)

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

16 September 2009  0 Comments


Parse an EPiServer XHTML property with Dynamic Content

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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 choose “costly” EPiServer when Umbraco is “free”, whi... [ Read full article ]

22 August 2009  0 Comments


Friendly URL instead of querystring in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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 posts for the requested tag). The listing is... [ Read full article ]

18 July 2009  0 Comments

Tags:


Managing e-mail subscriptions in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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 easily add new subscribers, remove existing subscriptio... [ Read full article ]

14 April 2009  0 Comments

Tags:


Managing e-mail subscriptions in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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


A new EPiServer page link control

by: Ted Nyberg (Ted & Gustaf)

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 page template or user control like so: < EPiServer :... [ Read full article ]

06 April 2009  0 Comments

Tags:


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

by: Ted Nyberg (Ted & Gustaf)

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 the ASP.NET Silverlight control we need to reference... [ Read full article ]

30 March 2009  0 Comments


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

by: Ted Nyberg (Ted & Gustaf)

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 controls: < UserControl x : Class = "StockQuoteTicker... [ Read full article ]

30 March 2009  0 Comments


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

by: Ted Nyberg (Ted & Gustaf)

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 sample you need the following: Visual Studio 2008 S... [ Read full article ]

30 March 2009  0 Comments


Integrating help documentation for editors in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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 guess is the answer is ‘yes’! However, Word... [ Read full article ]

15 March 2009  0 Comments

Tags:


Adding a custom plugin button to unpublish a page in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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 clients are fine with setting the Stop Publish propert... [ Read full article ]

12 February 2009  0 Comments

Tags:


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

by: Ted Nyberg (Ted & Gustaf)

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 property values are inherited in the page tree.... [ Read full article ]

03 February 2009  0 Comments

Tags:


Customize the search experience with Search Server 2008

by: Ted Nyberg (Ted & Gustaf)

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 are optional and can be left out. Approaches for... [ Read full article ]

22 January 2009  0 Comments


Using EPiServer and Microsoft Search Server 2008

by: Ted Nyberg (Ted & Gustaf)

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, with the release of Search Server 2008, and its fre... [ Read full article ]

20 January 2009  0 Comments


Localize page type and page property names in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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 following approach to handling properties including... [ Read full article ]

08 September 2008  0 Comments

Tags:


Localize page type and page property names in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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

08 September 2008  0 Comments


Localize page type and page property names in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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

08 September 2008  0 Comments

Tags:


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

by: Ted Nyberg (Ted & Gustaf)

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(friendlyUrl); Implementing the GetInternalUrl method Th... [ Read full article ]

04 September 2008  0 Comments

Tags:


Using web parts in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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 you want to "impersonate": 1. Import the... [ Read full article ]

18 August 2008  0 Comments

Tags:


How to get the simple address of a page in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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 the friendly URL of a page in EPiServer CMS .... [ Read full article ]

15 August 2008  0 Comments

Tags:


How to get the simple address of a page in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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 address try { url = ( string )page.Property[... [ Read full article ]

15 August 2008  0 Comments

Tags:


Create a scheduled job in EPiServer

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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

by: Ted Nyberg (Ted & Gustaf)

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


Search for EPiServer pages based on properties

by: Ted Nyberg (Ted & Gustaf)

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 containing all matching pages. The concept The... [ Read full article ]

26 February 2008  12 Comments


If you're getting full postbacks with ASP.NET AJAX and EPiServer 4.62

by: Ted Nyberg (Ted & Gustaf)

After having 1) referenced System.Web.Extensions and 2) added all the necessary entries to web.config, we still got full postbacks when submitting through an UpdatePanel in an EPiServer 4.62 website. The solution As it turns out, the culprit was t... [ Read full article ]

07 February 2008  1 Comments


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

by: Ted Nyberg (Ted & Gustaf)

This post explains how to get the friendly URL of a page in EPiServer, handy for those cases where you won't get automatic rewriting of internal URLs. [ Read full article ]

07 February 2008  0 Comments

Tags:


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

by: Ted Nyberg (Ted & Gustaf)

This post explains how to get the friendly URL of a page in EPiServer, handy for those cases where you won't get automatic rewriting of internal URLs. [ Read full article ]

07 February 2008  0 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