Can you get a page's properties from the PagesFacade?

Posted by Community Admin on 04-Aug-2018 19:59

Can you get a page's properties from the PagesFacade?

All Replies

Posted by Community Admin on 08-Sep-2011 00:00

If I have a PagesFacade() can I get individual properties (pageid, url, title) for a contained page? If so, do I get it directly from the PagesFacade(), or do I loop over a list and ask for each page from some other mechanism?

Posted by Community Admin on 13-Sep-2011 00:00

Hi Dan Sorensen,

You need to get a specific page first, probably like this:

var page = App.WorkWith().Pages().Where(p => p.Title == "Title").Get().First();

Then you can retrieve the different properties in page.

All the best,
Lubomir Velkov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed