Copied to clipboard

Flag this post as spam?

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


  • Vladimir Dimitrov 3 posts 74 karma points
    May 04, 2018 @ 14:08
    Vladimir Dimitrov
    0

    How to filter multinodetreepicker nodes by property value

    Can I filter the nodes which can be selected by the multi node tree picker in the backoffice by property type from the nodes which can be selected? enter image description here

  • Nigel Wilson 944 posts 2076 karma points
    May 04, 2018 @ 18:46
    Nigel Wilson
    0

    Hi Vladimir

    If I understand your question correctly, yes you can.

    The way to do it would be to go to the developer section and define a new MNTP under data types - within there you can comma separate a list of permitted document types.

    Hope this helps.

    Nigel

  • Vladimir Dimitrov 3 posts 74 karma points
    May 05, 2018 @ 13:23
    Vladimir Dimitrov
    0

    Hi Nigel

    Not actually. I have one document type, just one type and the question is can i filter the results shown in the list by a specific property type of the document type. For example some bool property?

    Vladimir

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 07, 2018 @ 09:41
    Dave Woestenborghs
    0

    Hi Vladimir,

    That is not possible. With MNTP you can only filter on doctype.

    Maybe you can have a look at nuPickers : https://our.umbraco.org/projects/backoffice-extensions/nupickers/

    They allow for different datasources. Maybe you can get the desired result using a Lucene based picker, XML based or a create your own custom datasource.

    Probably a xml based picker with a xpath query can get the job done : https://github.com/uComponents/nuPickers/wiki/Data-Source-Xml

    Dave

Please Sign in or register to post replies

Write your reply to:

Draft