this is an interesting one - 'GetDescendants' doesn't return all descendants?!
my code runs as:
var contentService = ApplicationContext.Current.Services.ContentService;
var children = contentService.GetDescendants(MyId).ToList();
return children.Any() ? children.First() : null;
pretty easy, just trying to get all decendants by a node id (replace 'MyId').
but of the 200 odd nodes i know for a fact appear under the 'MyId' node, i only ever get 150 back. it's always the same 150 so it's not random.
i'm guessing the content service hits up the database, is there any reason my nodes wouldn't be coming back?!
GetDescendants doesn't return all descendants?!
hey out there,
this is an interesting one - 'GetDescendants' doesn't return all descendants?!
my code runs as:
pretty easy, just trying to get all decendants by a node id (replace 'MyId').
but of the 200 odd nodes i know for a fact appear under the 'MyId' node, i only ever get 150 back. it's always the same 150 so it's not random.
i'm guessing the content service hits up the database, is there any reason my nodes wouldn't be coming back?!
cheers,
jake
is working on a reply...