Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sibren 40 posts 212 karma points c-trib
    Oct 07, 2019 @ 11:39
    Sibren
    0

    Custom section: issue with selecting the right items/creating new ones

    Hi,

    I'm trying to update UI-O-Matic to Umbraco8 but I have an issue with creating new items. See https://webm.red/PsTl for a clip. It will only load a 'create'-screen when I select the root-item with left mouse button first. If I click on it immediately, it does not open a 'create'-screen.

    I'm calling the create-function via:

    menu.Items.Add(new CreateChildEntity(Services.TextService));  
    

    When I try using

    var createMenuItem = new MenuItem(ActionNew.ActionAlias, Services.TextService)
                                    {
                                        Icon = "add",
                                        OpensDialog = false
                                    };
    
                                    menu.Items.Add(createMenuItem);
    

    It throws a 404 on create.html. I prefer not having a create.html if it's not needed.

    I'm using Umbraco 8.1.5, have not yet looked at the weird datepicker coming up left on top when creating a new item, so please ignore that. 😎

    I see I posted this in the wrong forum category. Which is weird, I thought I double checked the category.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies