Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Mockup Utility

The Mockup Utility lets you create many pages, in a hierarchy, and even setting key properties on the pages in one go. One design goal was to quickly create a structure of pages for illustration purposes, or to test an information structure without needing to create all pages manually.

See the screenshots for an example.

Text Format

This is an example on how the text could look like:

Welcome to us [pagetypeid:37]
 About Us [pagetypeid:3]
 Employees [PageChildOrderRule: EPiServer.Filters.FilterSortOrder.Index; ListingContainer:-]
  Steve [PagePeerOrder: 200]
  Øyvind [PagePeerOrder: 100]
 Contact Us
  Map
  Driving directions [WriterName:Steve Celius; MainIntro: Finding us by car!]
 Search [pagetypeid: 13; PageVisibleInMenu: False]

The indentation is very important, as it determines the structure. Start with no indentation, and add one space for each level you need.

The text inside the square brackets are properties to add to the page, for an example, this [PagePeerOrder: 100] will set the index value of the page to 100. Separate properties with a semi colon. The name of the property is before the colon and the value just after it. The value will be trimmed, and parsed to the correct property type.

If no PageTypeID is specified, "Ordinary web page" will be used. If that page type does not exist, an exception will be thrown.

Make sure you have the neccessary priviliges to create and publish pages. The creation process runs under the currently logged on user, and will fail if the user is not allowed to create and publish pages.

Also make sure you double check the indentation and order of pages, if the page creation process gets confused, it can have unpredicted consequences, and the resulting page tree might be wrong (you can always delete and try again.)