I am trying to create a list from a single column of a table.
I have this
which works but I’m hoping there is a way to do this more directly. The doc I found
doesn’t really go into details about how to use the different options on this block.
is there are more direct way I can accomplish this?
You need to use the “properties” connector to specify the properties you want the server to return.
Hi, I tried that but may have not understood the right way
this seems to send back an array of "lable;‘value’ " pairs
How can I get just the values returned as a list?
ps: “label” and “table” are column names in my table
The “Load Table Objects” always returns an array of objects. The objects will contain the property (or properties) you request.
I believe what you want is the pluck operation :
Did you try to remove
Create object block and just use the result of
Get property "label" block?
yes I tried just returning the results like so
and I got a blank list
I also tried pluck of collection but I may have not used it correctly
and got the same blank list as above.
ok I solved the problem.
the field name in the table was “label” the data grid column definition logic used field “Element”
when I changed “Element” to “label” everything showed up as expected.