I have managed to retrieve the Page ID for a specific page.
Now I want use NewsList and list all news (childs) for this page.
I was thinking in line of something like this:
EPiServer.Core.PageDataCollection ChildPages;
ChildPages = GetChildren(pageLink)
The problem is that pageLink is of type PageReference, and all I have is an pageID of the type string.
So my question is:
How do I list articles/news/pages whn I only have the PageID?
EPiServer.Core.PageDataCollection ChildPages; ChildPages = GetChildren(pageLink)
The problem is that pageLink is of type PageReference, and all I have is an pageID of the type string. So my question is: How do I list articles/news/pages whn I only have the PageID?