Copied to clipboard

Flag this post as spam?

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


  • HiveHicks 2 posts 22 karma points
    Feb 01, 2010 @ 14:39
    HiveHicks
    0

    General format of contentTree result

    What EXACTLY I get from contentTree if parent node has child nodes? All the examples show contentTree without child nodes. But I need child nodes. How do I get them? It's driving me mad :(

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Feb 01, 2010 @ 14:44
    Jeroen Breuer
    0

    When you set xNode.Source you can do it with this.GetTreeServiceUrl, but this just returns an url. I use this in some cases:

    xNode.Source = string.Format("/umbraco/tree.aspx?rnd={0}&id={1}&treeType={2}&contextMenu=true&isDialog=false&productCode={3}", Guid.NewGuid(), this.id++, this.app, currentCode);

    With this I can add extra querystrings. Does this help you?

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Feb 01, 2010 @ 14:45
  • HiveHicks 2 posts 22 karma points
    Feb 01, 2010 @ 14:49
    HiveHicks
    0

    Oh, I finally found it out. "?umbDebug=true" helped me. So what I needed was "/macro/news/node/node". Who would have thought)

  • 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