Excluding a var selection from another var selection
Hi guys,
I'm looking to solve a problem and i could really use your help! I made 2 selections for an overview of events. One where i select all childrens from the events folder and one where i pick the first event which has a checkbox == true:
var selectionHighlighted = startNode.Children
.Where("highlight == true")
.OrderBy("dateEvent")
.Take(1);
var selection = startNode.Children
.OrderBy("dateEvent");
Now i'm looking for a third selection which excludes the selectionUitgelicht from the selection of all events. Something like this:
var selection = startNode.Children
.Where("highlight == true")
.OrderBy("dateEvent").Except(var item in selectionHighlighted);
Excluding a var selection from another var selection
Hi guys,
I'm looking to solve a problem and i could really use your help! I made 2 selections for an overview of events. One where i select all childrens from the events folder and one where i pick the first event which has a checkbox == true:
Now i'm looking for a third selection which excludes the selectionUitgelicht from the selection of all events. Something like this:
Any thoughts?
Hi Lex.
Could you try this:
Thanks Dennis,
I can't believe i couldn't come up with this myself but that's why you are the man!
Issue = solved
No, you´re the man! :)
Haha thank you Lex, your reply made my day! :)
Take care!!
is working on a reply...