Why can i not filter via Codeblock?


Some short issue:

x.Parameters[0] == "Ebene";

Why does it not work?

is there a slidly error in my syntex?



you’re trying to compare an object of type Parameter to a string, which is not going to work. Try getting the parameter’s name or value first. For example:
x.Parameters[0].Name == "Ebene"

1 Like

so that means:

“look for ParameterName “Ebene”(Level) and filter the elements on it”

is this correct?

What i want to do is list the elements by Value “Level” (UG,EG,OG01,…)

you should check the node: list.sortbykey

1 Like