Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anders Brännmark 228 posts 280 karma points
    Apr 26, 2013 @ 07:57
    Anders Brännmark
    0

    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?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 26, 2013 @ 08:02
    Tom Fulton
    0

    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

  • Anders Brännmark 228 posts 280 karma points
    Apr 26, 2013 @ 08:04
    Anders Brännmark
    0

    Yep, then its added in 6.1 I guess. Running 6.0.3 right now and upgrading to 6.0.4 later today.

    Thanks!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies