Copied to clipboard

Flag this post as spam?

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


  • Brakkar 12 posts 53 karma points
    Jun 15, 2015 @ 19:45
    Brakkar
    0

    Getting nodes with a certain multi tree picker value

    Hi, i'm testing umbraco, and would be thankful to see an razor code illustration of what I'm trying to achieve please:

    Get all nodes from document type alias "Ingredient" that have a multinode treepicker value "fish" . In a template of Umbraco 7.

    Thanks in advance

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 8x admin c-trib
    Jun 15, 2015 @ 21:25
    Chriztian Steinmeier
    0

    Hi Brakkar,

    Try this:

    • Go to Settings > Templates and pick any template (or create a new one if none present).
    • Click the last icon in the toolbar ("Open query builder")
    • Play with the controls and watch the created query underneath, and see if that helps you understand how to build the query you need.

    Hope that helps,

    /Chriztian

Please Sign in or register to post replies

Write your reply to:

Draft