the tree node's source is the url used to load the tree contents and structure. That url will provide the app and tree aliases along with the node's id and so on so umbraco can pick the tree handler from the database, tell it to render with whatever context you passed it and and send the nodes back to you. It's then the responsibility of the ITree class loaded to attach the appropriate IActions to each node, such as ActionNew.Instance, or your custom actions.
umbraco tree hyrarchy
Hi all, currently i am developing a custom section umbraco and use custom tree.
i have able to assign a task by implement iTaskReturnUrl.
but i want it to apply for all my child node. which currently only has a delete action on right click.
is it possible so there is a create action as well on child node similar in yhe content section?
how do i add another action for the tree node? any reference ?
i hv found the solution. to make it as parent i have to assign xNode.source = treeservice....
but i still don't understand about xnode.source.
what it is for?
thx
the tree node's source is the url used to load the tree contents and structure. That url will provide the app and tree aliases along with the node's id and so on so umbraco can pick the tree handler from the database, tell it to render with whatever context you passed it and and send the nodes back to you. It's then the responsibility of the ITree class loaded to attach the appropriate IActions to each node, such as ActionNew.Instance, or your custom actions.
is working on a reply...