2

I have a SharePoint list which has a managed metadata column. This is bound to my term store which look like as following:

  • Cars
    • Mercedes
      • S600
      • CL65
      • G
    • BMW
      • 5
      • 6
      • 7
      • X5
    • Maybach
      • ...
    • Bentley

I want to query via CAML this list. I have a custom application page where the user is able to select the terms from the term store by drop downs. Given is a ListItem where the user has selected the term "S600" from the parent term "Mercedes". Lets think that the user now only selects "Mercedes".

How can I query the list with CAML so that I also get all items which where tagged with the children of the term "Mercedes"?

In short: How can I build a CAML query which can get all items with the selected parent terms child terms?

  • Has noone an idea? – BOG Nov 18 '15 at 12:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.