I just tried this (to remove something from the collection) and it also is throwing up an error:
let currentitem = $w(“#dataset2”).getCurrentItem();
wixData.remove(“Projects”, currentitem._id);

I just tried this (to remove something from the collection) and it also is throwing up an error:
let currentitem = $w(“#dataset2”).getCurrentItem();
wixData.remove(“Projects”, currentitem._id);
