Chapter 5 discusses how to work with macros in detail, but for the purposes of this chapter, you will go through the motions one more time. To create a macro, follow these steps:

  1. Navigate to the Developers section.
  2. Right-click the Macros node and click the Create menu item.
  3. In the dialog that appears, name your macro List Sub Pages From Current Page and click the Create button.

Okay, so now what? Well, you need some code to point to in order for this macro to actually do anything. Because this chapter talks strictly about .NET, you will create some code in a Visual Studio Project next.

image If you do not own a license for Visual Studio, you have some options: Either download a trial version of the full version, download the Express version, or take a look at Microsoft WebMatrix at

Get Umbraco User's Guide now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.