Copied to clipboard

Flag this post as spam?

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


  • Tim Gerhard 10 posts 125 karma points
    Mar 15, 2021 @ 13:35
    Tim Gerhard
    0

    Umbraco Multinode Picker Conditional Nodes

    Hi, I have a very simple task which I think is not possible to do with umbraco but we'll see.

    I have a folder (A Document Type called "container") with Tags (Document Type called "tag") inside.

    I also have a multinode Treepicker and I want to display all Tags (as options to pick) based on a simple where condition. For instance "Get all Tags that have 'XYZ' in their node name" or "Get all Tags that have the checkbox XYZ checked".

    What I want is to be able to have a Multinode Picker that only shows some of my tags in my list, not all of them!

    I've tried to use xpath but this also didn't work. I was able to get my container ($site//container) but as soon as I tried to filter out some of my tags it didn't work anymore.

  • Huw Reddick 1932 posts 6722 karma points MVP 2x c-trib
    Mar 15, 2021 @ 21:04
    Huw Reddick
    0

    You will need to write your own property editor, if you look at my common tag picker package it should give you some pointers. Mine just used a drop-down multiselect list but should point you in the right direction, the code is on github

  • 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