Per Nergård
Sep 5, 2013
(0 votes)

List all page- and block types

Have you ever got a customer requirement saying the want a document with all the page types and their properties for a manual or something?

I guess that it’s fairly common. Doing this in a word document is tedious and will be out of date almost immediately. Now with CMS 7 we have all the block types as well so it’s even more work.

To stop needing to do something like that a did a quick hack.

It’s a simple user control that gets all the page and block types and displays their properties.

Ugly image from including it in the Alloy sample project.


It’s just a template so it only displays the localized name and description in an ul/li list.

You can download it over at the code section. Download.

Sep 05, 2013


Sep 6, 2013 09:54 AM

Sounds useful, but your download link doesn't work.

Sep 6, 2013 10:01 AM

Added download link to skydrive. Seems I can't add files to my code section entries any more?!.

Sep 6, 2013 10:03 AM

We received a couple of reports that there are issues with uploading code and we are looking into it. Don't have an estimate as to when it will be fixed yet though.

Please login to comment.
Latest blogs
Fixing Optimizely Content Syncing/Caching Issues on the DXP pre CMS.Core 12.13.0

Hi all, With our recent deployments to the DXP for .NET 6 projects (one a new build and one an upgrade) our clients had raised issues where there...

Scott Reed | Mar 23, 2023

Handle hostnames, schedule jobs and role access when synchronizing content

The Environment Synchronizer module helps you to set your environment into a known state after synchronizing databases between environments. In thi...

Ove Lartelius | Mar 23, 2023 | Syndicated blog

4 tips and tricks for Hangfire on Optimizely CMS

Here are four useful tricks I always apply to any site where I use Hangfire (code included).

Stefan Holm Olsen | Mar 21, 2023 | Syndicated blog

The new LinkItem property in Optimizely CMS, and why it matters

In the past, we have used different tricks to achieve this. Now, the LinkItem property is finally built-in in Optimizely CMS 12!

Tomas Hensrud Gulla | Mar 20, 2023 | Syndicated blog