A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Per Nergård (MVP)
Sep 10, 2015
  748
(0 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.

Example:

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

Comments

Please login to comment.
Latest blogs
A day in the life of an Optimizely OMVP: Learning Optimizely Just Got Easier: Introducing the Optimizely Learning Centre

On the back of my last post about the Opti Graph Learning Centre, I am now happy to announce a revamped interactive learning platform that makes...

Graham Carr | Jan 31, 2026

Scheduled job for deleting content types and all related content

In my previous blog post which was about getting an overview of your sites content https://world.optimizely.com/blogs/Per-Nergard/Dates/2026/1/sche...

Per Nergård (MVP) | Jan 30, 2026

Working With Applications in Optimizely CMS 13

💡 Note:  The following content has been written based on Optimizely CMS 13 Preview 2 and may not accurately reflect the final release version. As...

Mark Stott | Jan 30, 2026

Experimentation at Speed Using Optimizely Opal and Web Experimentation

If you are working in experimentation, you will know that speed matters. The quicker you can go from idea to implementation, the faster you can...

Minesh Shah (Netcel) | Jan 30, 2026

How to run Optimizely CMS on VS Code Dev Containers

VS Code Dev Containers is an extension that allows you to use a Docker container as a full-featured development environment. Instead of installing...

Daniel Halse | Jan 30, 2026

A day in the life of an Optimizely OMVP: Introducing Optimizely Graph Learning Centre Beta: Master GraphQL for Content Delivery

GraphQL is transforming how developers query and deliver content from Optimizely CMS. But let's be honest—there's a learning curve. Between...

Graham Carr | Jan 30, 2026