Quantcast
Viewing all articles
Browse latest Browse all 9076

DataFactory.Instance.GetChildren() is not returning the latest created articles.

GetChildren is not returning latest pages which created by editor.this code was working earlier. but now it does not.

Below is my code.


List<PageData> children = DataFactory.Instance.GetChildren(pageLink, LanguageSelector.AutoDetect(true)).Where(c => c.CheckPublishedStatus(PagePublishedStatus.Published)).OrderByDescending(x => x.StartPublish).ToList();

The problem i am facing is that, its returning old articles which we have created one week earlier. New articles are not returned.

And i am not sure if any episerver settings can be a problem?


Viewing all articles
Browse latest Browse all 9076

Trending Articles