How to Delete an Item From a Data Collection with WiX Code | WiX Data API - .remove() Method | Velo

preview_player
Показать описание
In this series I walk you through the long await WiX Data API!

The WiX Data API allows you to interact with data collections using code (Velo). With just a few lines of code you can get, add, remove or update items in your collection. You can also do more complex things such as querying a collection based on a certain field - value pair, using hooks to take action before or after a collection is changed and more!

In this video I show you how to delete and item PREMINANTLY from a collection using the .remove() method.
Check out the full documentation here:

Have questions? Need something fixed on your website ASAP?

Join my private Facebook group:

Join a free group consult:
Рекомендации по теме
Комментарии
Автор

Great video! I would love to add in a refresh line of code to refresh my lightbox (where dataset is displayed) once somehting is clicked to be removed

JamesGrant-nq
Автор

Hello. I've tried every step on the video, but it seems the code won't work/run when I preview it. Whenever I click the button assigned for deletion, nothing happens. Nothing gets deleted and I don't get to see the code run.

armerjosephbautista
Автор

Great video! I did everything as you did but I dont get a response from my button, also cant get an error message. What could be the problem?

Peacegramm
Автор

Great video, How can I add a confirmation modal, to ask the user if they are sure about the delete action? to avoid them deleting something by mistake

normanrvargas
Автор

Hi, thanks for the video, am looking to delete a particular field in a collection, how can I be able to achieve that

GiangNguyen-foyk
Автор

Nice video, I need to know what you mean by "#peopleRepeater", I didn't get that part

beeno
Автор

I have a wix website and I want to remove the code that's been added by a unknown person, but I can't get permission to do anything, I am the site owner

BN-znpu
join shbcf.ru