Copied to clipboard

Flag this post as spam?

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


  • Mov3nforward 117 posts 319 karma points
    Apr 04, 2018 @ 22:54
    Mov3nforward
    0

    Issue with Multi Url Picker and upgrade to 7.10.0

    I have an issue where something I have created in another site with version 7.6.6 that uses the Multi Url Picker plugin that does not seem to work in version 7.10.0. I setup a way for users to manage links for the main navigation of their web site. I am seeing an error when I try to view the front end and I am not sure why. I am using the exact same code and document type as I used in another site created with version 7.6.6.

    Can any one point me in the right direction?enter image description here

  • Mov3nforward 117 posts 319 karma points
    Apr 04, 2018 @ 22:56
    Mov3nforward
    0

    My partial code view.enter image description here

  • Mov3nforward 117 posts 319 karma points
    Apr 04, 2018 @ 22:56
    Mov3nforward
    0

    My doctypeenter image description here

  • Mov3nforward 117 posts 319 karma points
    Apr 04, 2018 @ 22:57
    Mov3nforward
    0

    How the doctype is used in the site.enter image description here

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Apr 05, 2018 @ 07:25
    Dave Woestenborghs
    0

    Hi ,

    What version of Multi Url Picker are you using. Did you upgrade that as well ?

    Dave

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Apr 05, 2018 @ 11:46
    Dan Diplo
    0

    Are you using the version 2.x of Multi Url Picker? The way you access links changed in this version so you should do:

    var siteNavigation = mainNavigation.GetPropertyValue<IEnumerable<Link>>("navigation")
    

    https://github.com/rasmusjp/umbraco-multi-url-picker/blob/master/CHANGELOG.md#features-1

  • Mov3nforward 117 posts 319 karma points
    Apr 05, 2018 @ 18:15
    Mov3nforward
    100

    UPDATE: After hours of testing and going through each setting of the new site compared to the old site, I have finally gotten the old code that was written for version 7.6.6 and 7.8. The issue has to do with the Multi URL picker datatype. In the new site I had set the Min value to 0 and Max value to 100. In the 7.6.6 and 7.8 version sites, both values were set to blank. The code I have posted now works. I like using Umbraco, but upgrading it is a PIA compared to my WordPress sites. I wish the developers would only update every few months instead of a few times a month.

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft