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
Hello all,
Is it possible to handle the views and actions for a custom tree in a custom section just from C#, without any Angular interaction?
Thank you
Hi Adrian
You can create an MVC Controller that is routed via the backoffice:
https://our.umbraco.com/Documentation/Reference/Routing/Authorized/#mvc-controllers-for-the-backoffice
and I think, although it's a while since I've done this, set a custom url for a menu item:
https://our.umbraco.com/documentation/extending/section-trees/trees#menurendering
Would that be enough for your needs?
But if you want things to work indentically to the way you would extend with angularJS, then there isn't a direct c# equivalent.
regards
Marc
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Tree Actions C#
Hello all,
Is it possible to handle the views and actions for a custom tree in a custom section just from C#, without any Angular interaction?
Thank you
Hi Adrian
You can create an MVC Controller that is routed via the backoffice:
https://our.umbraco.com/Documentation/Reference/Routing/Authorized/#mvc-controllers-for-the-backoffice
and I think, although it's a while since I've done this, set a custom url for a menu item:
https://our.umbraco.com/documentation/extending/section-trees/trees#menurendering
Would that be enough for your needs?
But if you want things to work indentically to the way you would extend with angularJS, then there isn't a direct c# equivalent.
regards
Marc
is working on a reply...