Creates a node reference.
public void Execute(PluginCommandParameter parameter)
{
var rootPage = studio.ActiveProject.GetProjectItem("Screens/Screen/RootPage");
var introPage = studio.ActiveProject.CreateProjectItem<Page>(rootPage.GenerateUniqueChildName("Intro"), rootPage);
rootPage.Set(Properties.PageHostDefaultSubPage.Name, "Intro");
var mainPage = studio.ActiveProject.CreateProjectItem<Page>(rootPage.GenerateUniqueChildName("Main"), rootPage);
var pageActivatedTrigger =
introPage.Triggers.First(trigger => trigger.TriggerProperty == Properties.MessagePageActivated);
ProjectItemReference<ExportedPropertyContainerItem> routingTarget = new NodeReference<Page>(mainPage);
pageActivatedTrigger.CreateAction(Properties.MessagePageNavigate, routingTarget, 2000);
}