Copied to clipboard

Flag this post as spam?

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


  • Carlos Mosqueda 244 posts 435 karma points
    May 07, 2021 @ 21:12
    Carlos Mosqueda
    0

    Umbraco .7.15, MultiURLPicker, can I use .Where("Visible") for my list?

    Can I use .Where("Visible") for my list in Umbraco 7.15 using the Umbraco.MultiUrlPicker?

    So far it looks like I can not, but I also don't want to have dead links. Anyone know if this is possible in the Razor when buliding the list?

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    May 07, 2021 @ 22:10
    Alex Skrypnyk
    0

    Hi Carlos,

    Not sure how .Where("Visible") can prevent from displaying dead links.

    Dead links usually mean links to pages that not exist. Do you mean hidden or removed pages?

    Can you show the code how you render MultiURLPicker value?

    Thanks,

    Alex

  • Carlos Mosqueda 244 posts 435 karma points
    May 18, 2021 @ 17:53
    Carlos Mosqueda
    0

    Hi, So I realized and tested that unpublished pages and the MUP if internal checks or just handles unpublished pages. It just doesn't show them on the client side. So it works for us. Visible was a different thing where I was probably thinking of two different situations. Unpublished vs "Visible".

    Not sure about "Visible" but it does handle internal published pages meaning dead links won't be an issue in our case if the pages are internal. External links are something that we can't control other than just removing them from the MUP. All good in that case.

    Just took some sleuthing to test it all out.

Please Sign in or register to post replies

Write your reply to:

Draft