Hey Nick! Thanks for the help. unfortunately I’m still having issues. The array being returned is still empty, even after I modified the code:
let currentitem = $w(“#dataset2”).getCurrentItem();
console.log(currentitem);
wixData.query('Projects')
.eq("_id", currentitem._id)
.find()
.then(res => {
console.log(res.items);
});
