Can some one point me at the documentation to override/manually create a querystring object for CreateNode() so I can tell my app to point at a specific view/action in a custom section tree...
I have a set of custom application tree/api controllers for to "sub-apps" used by a single app_plugin, all the routing works fine if I generate a tree controller and api for each of the "sub-apps" but they are put into folders in the tree... I am trying to push them up the tree hierarchy but my routes to the view are "wrong" (defaulting to /views/[sub-app]/[view name]/[action]) which doesn't exist.
I didn't have have time to try and hijack this the way I wanted it to behave. So I left it with the "default" behaviour intact:
Without testing and playing with it I presume David's reply is the correct answer to my original problem. I will try and go back to test it in the near future.
Custom CreateNode - hijack route and view
Can some one point me at the documentation to override/manually create a
querystring
object forCreateNode()
so I can tell my app to point at a specific view/action in a custom section tree...I have a set of custom application tree/api controllers for to "sub-apps" used by a single app_plugin, all the routing works fine if I generate a tree controller and api for each of the "sub-apps" but they are put into folders in the tree... I am trying to push them up the tree hierarchy but my routes to the view are "wrong" (defaulting to /views/[sub-app]/[view name]/[action]) which doesn't exist.
App_plugin file structure:
Intended appearance:
Hi Max
Did you find a solution? Can you share with our community?
Thanks,
Alex
Hi,
don't know if I understand correctly and as the post is quite old...
But the route of custom tree nodes can be adjusted with a parameter to the CreateTreeNode() method.
The last one would be your route to the view.
Regards David
I didn't have have time to try and hijack this the way I wanted it to behave. So I left it with the "default" behaviour intact:
Without testing and playing with it I presume David's reply is the correct answer to my original problem. I will try and go back to test it in the near future.
is working on a reply...