Copied to clipboard

Flag this post as spam?

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


  • Mike Donahue 36 posts 158 karma points
    Jul 28, 2017 @ 05:18
    Mike Donahue
    0

    Multi-Url picker in nested content not mapping urls

    Im having some issues getting the values in any multi-Url field used in Nested content (Umbraco version 7.6.4). My urlPicker keeps coming back null - but I am using RJP multiurl.

    I appreciate any feedback.

    var UrlPicker = secondItem.GetPropertyValue<IEnumerable<RJP.MultiUrlPicker.Models.Lin>>("link");

    returns null

  • Mike Donahue 36 posts 158 karma points
    Jul 28, 2017 @ 05:19
    Mike Donahue
    0

    Verifying that the link alias is not null

    This shows that the link property is not null, and actually is a valid object. The GetPropertyValue method must be failing to map it properly

  • Mike Donahue 36 posts 158 karma points
    Jul 28, 2017 @ 16:06
    Mike Donahue
    100

    I switched to using the Umbraco related url picker which seems to do what I need. I was not able to get the RJP compatability worked out without potentially switching to a controller based solution.

  • 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