Accessing Page description and keywords with API
Hi!
I'm using
var pages = App.WorkWith().Pages().Get().ToList();
Hi Bostjan,
the Get() method for the Fluent API actually returns a list of type PageNode. The data you want is within this type under Page.
So you can access the properties you want with something like this:
var pages = App.WorkWith().Pages().Get();
foreach
(var pagenode
in
pages)
var keywords = pagenode.Page.Keywords;
var description = pagenode.Page.Description;