A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More

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

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
Jhoose Security Modules v2.6.0 — Added support for Permissions Policy and .NET 10

Version 2.6.0 adds Permissions Policy header support, updates to .NET 10, improved policy management, configurable security settings, and enhanced...

Andrew Markham | Dec 6, 2025 |

Building a 360° Customer Profile With AI: How Opal + Optimizely Unlock Predictive Personalization

Creating truly relevant customer experiences requires more than collecting data—it requires understanding it. Most organizations already have rich...

Sujit Senapati | Dec 4, 2025

Building a Lightweight Optimizely SaaS CMS Solution with 11ty

Modern web development often requires striking a difficult balance between site performance and the flexibility needed by content editors. To addre...

Minesh Shah (Netcel) | Dec 3, 2025

Creating Opal Tools Using The C# SDK

Over the last few months, my colleagues at Netcel and I have partaken in two different challenge events organised by Optimizely and centered around...

Mark Stott | Dec 3, 2025