Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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 :(
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?
If you want some good examples you should look at: http://our.umbraco.org/wiki/reference/backoffice-apis/tree-api---to-create-custom-treesapplications
Oh, I finally found it out. "?umbDebug=true" helped me. So what I needed was "/macro/news/node/node". Who would have thought)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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 :(
When you set xNode.Source you can do it with this.GetTreeServiceUrl, but this just returns an url. I use this in some cases:
With this I can add extra querystrings. Does this help you?
If you want some good examples you should look at: http://our.umbraco.org/wiki/reference/backoffice-apis/tree-api---to-create-custom-treesapplications
Oh, I finally found it out. "?umbDebug=true" helped me. So what I needed was "/macro/news/node/node". Who would have thought)
is working on a reply...