Per Nergård
Sep 10, 2015
(1 votes)

Tool for creating page content in a web site.

This year I've been doing quit alot of writing specifications and testing implemented solutions and doing sprint-demos. Much of the work consists of entering content, and prepping content.

In an earlier post I did a small tool that made it possible for developers to use shorthand to generate lorem ipsum content. It's atleast some help but still dummy data.

So I have created another tool. The idea of the tool is that it should be easy to select any number of "template pages" for all or some pagetypes and then just click the go button to let the tool find all pages for that type and replace it's content with a randomly selected "template page".

You can set the start page from where the tool should start to work and "template pages" are added to a content area propert (all in forms mode). Template pages are grouped by type and it's possible to create content for on or many page types.

Usage scenarios: Create content for a demo or internal test, you could also use it to quickly debrand a entire site.


Start screen (In this case Ive only added one page for the standard page type and pointed it to a shallow structure).

Image ContentCreatorStart.jpg

The "template page" Per Original

Image PerOriginal.jpg

The page that's going get new content (Note that EPiServer builtin properties like PageName etc aren't replaced).

Image PageToBeReplaced.jpg

Start screen after tool is done

Image ContentCreatorEnd.jpg

And finally the page after it got it's content replaced

Image PageAfterReplace.jpg

Code is available at bitbucket.

Sep 10, 2015


Please login to comment.
Latest blogs
Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog

Content Delivery API – The Case of the Duplicate API Refresh Token

Creating a custom refresh provider to resolve the issues with duplicate tokens in the DXC The post Content Delivery API – The Case of the Duplicate...

David Lewis | Sep 29, 2022 | Syndicated blog

New Optimizely certifications - register for beta testing before November 1st

In January 2023, Optimizely is making updates to the current versions of our certification exams to make sure that each exam covers the necessary...

Jamilia Buzurukova | Sep 28, 2022

Optimizely community meetup - Sept 29 (virtual + Melbourne)

Super excited to be presenting this Thursday the 29th of September at the Optimizely community meetup. For the full details and RSVP's see the...

Ynze | Sep 27, 2022 | Syndicated blog