Well, that seems like a pretty simple thing. But I'm trying to use the Sitefinity 4 Fluent API to request a page and populate the Text / NavigationUrl properties for HyperLink. The text fills perfectly - but it's hard for him to get Url from the page.
PageNode page = App.WorkWith().Page(PageId).Get(); PageLink.Text = page.Title; PageLink.NavigateUrl = page.Urls.Where<PageUrlData>(pU => pU.RedirectToDefault == false).FirstOrDefault<PageUrlData>().Url;
The first and second lines work fine (PageLink.Text shows the page name). In the third line, I get the link "The object is not installed on an instance of the object." error ... FYI PageId is the link to the page.
Any help would be greatly appreciated.
source share