Need to get ancestors with ContentService, but there seams to be no such method? I guess I could look at the path and grab item #2 from the collection, or do a recursive on parentId. But shouldn't ContentService have a way to get at its ancestors?
Which version of 6 are you using? I'm on the latest nightly of 6.1 and I have ContentService.GetAncestors() as well as Content.Ancestors() - maybe it was added recently?
GetAncestors with ContentService?
Need to get ancestors with ContentService, but there seams to be no such method? I guess I could look at the path and grab item #2 from the collection, or do a recursive on parentId. But shouldn't ContentService have a way to get at its ancestors?
Hi Anders,
Which version of 6 are you using? I'm on the latest nightly of 6.1 and I have ContentService.GetAncestors() as well as Content.Ancestors() - maybe it was added recently?
-Tom
Yep, then its added in 6.1 I guess. Running 6.0.3 right now and upgrading to 6.0.4 later today.
Thanks!
is working on a reply...