Hi there fellow Wapplers,
I have this strange issue where I cannot seem to get a specific value from an object within an array. I created a test setup that is easy to replicate.
With this sc file it works fine:

You can see that on opening the sc file in browser I get a value for nameofobject:

But when I create an Array List with multiple of these objects and perform a .where query on the array, I CAN get the whole object, but I can’t seem to get the value for object.file.name.
Here is my sc:

And in the results the nameofobject is not present:
object.file.name returns nothing.
What am i missing?
Any help is greatly appreciated.
ps here is the code for the server connect file
while_test.zip (899 Bytes)
bg
Jelle

That is indeed it. So the lesson here is, because object opens up with the , it returns an array. And with this [0] you choose to only return the first item in the array, correct?