#2: Hidden Gems of EPiServer CMS R2

Friendly URL Rewrite works with AJAX UpdatePanel

Finally! The new UpdatePanelPostBackRewritePipe class will take care of rewrite of all URL’s in an UpdatePanel. No need for manual conversion of links or dirty workarounds when using AJAX.

New – PropertyLinkCollection

image

Built in support for link collections that makes it possible to build lists without using pages or a custom component.

The data is stored as a xhtml string where each link is an a-tag. You you display it with EPiServer Property Control it is rendered as a ul/li-list.

PageData

It is now possible to call GetPageLanguage() on a page to get other language version. Only a shortcut to the data factory but very convenient. You can also get a list of PageLanguages.

The PageGuid is exposed as a new property on a the page.

SearchDataSource will always call CreateWriteableClone() on a page because it adds properties like PageRank. Since you can not access Dynamic Properties on a cloned page without workaround there is a new method PopulateDynamicProperties() on the page that adds them locally.

Bookmark and Share
  1. Steve Celius’s avatar

    Nice posts on R2 Fredrik!

    Keep’em coming.

    What is your experience with the new installer?

    /Steve

    Reply

  2. Fredrik Haglund’s avatar

    The new installer looks very promising!

    The services are installed separatly and you have much more control of what actions to perform on a web site.

    There are some issues for Developers on Vista but I will not comment on that in public until it is released.

    /Fredrik

    Reply

  3. Mattias’s avatar

    Nice posts, as always!

    Do you know where I can find the dirty workarounds for UpdatePanels, until R2 is released? :)

    /Mattias

    Reply

  4. Fredrik Haglund’s avatar

    Mattias,
    with dirty workarounds I mean manually calling methods that rewrite the links like:
    http://labs.episerver.com/en/Blogs/Ted-Nyberg/Dates/112276/2/How-to-get-the-friendly-URL-of-a-page-in-EPiServer-CMS/

    Reply