Hi, is there a way to run a query on a Collection in order to change a field value in batch?
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Do you want to loop through a lot of items and then update a certain field in that collection? You can use the items.forEach(function(entry) {} and then let's say entry.title = "new title"; between the {}. First you need to use wix-data to query the records you want and also make sure you let items = results.items;
Happy coding.