When a user clicks the create 'menu Item' on the node - I want to send them to the same URL but just with a diffrent Id for example:
umbraco#/rewards/rewardsTree/editcampaign/brand-1
and I don't want it to pop up out of the side
This is what I have tried so far:
//This finds the view, but it comes up in a dialog also how do I pass the Id (brand-1)
MenuItem mi = new MenuItem("editcampaign", "Create Campaign");
menuItemCollection.Items.Add(mi);
//Also Tried this finds puts a whole another umbraco UI inside a dialog
mi.LaunchDialogView("#rewards/rewardsTree/editcampaign/brand-1", "TITLE GOES HERE");
Can anyone point me to the fullest documentation for Menu's trees and navigation around the back office in general?
Custom Menu Items & Trees, How does navigation work?
I have a custom section, with a custom tree.
I'm having a bit of trouble understanding how you set the correct behavior when:
In my solution I'm using the same view to edit and create a record.
In my tree this is how a node is generated.
This is producing the route I want: (the name of my html file is editcampaign.html) and it is also passing "campaign-6"
When a user clicks the create 'menu Item' on the node - I want to send them to the same URL but just with a diffrent Id for example:
and I don't want it to pop up out of the side
This is what I have tried so far:
Can anyone point me to the fullest documentation for Menu's trees and navigation around the back office in general?
Hi Ayo,
have a look at "NavigateToRoute()". It's a methode of menu items.
Regards David
Thanks, this worked for me
is working on a reply...