How can I manipulate database data with Toolbox and Javascript

I want to get a list of Things and manipulate it in Run Javascript from the Toolbox plugin and then return the result. I can only get all the names of the Things but not their “objects”.

this works:

let users = “Search for Users’s name”.split(",");
console.log(users);

but I want the user object. I tried making a List Item Expression but I can’t figure out how to make it work.

1 Like