wix-data update owner

can I use wix-data update() method to set the owner of an item in a collection? I want to assign the owner of a form submission so that, for example, a request submitted by one member can be transferred onto another member’s member-private page

if possible you can use the users email instead of the owner. With the wix users api you can get the current users email and display relevant info that way. You can also create an email field in the database that will be your new identifier.

that could work…but I was hoping to continue using the simple dataset filter Owner Is CurrentLoggedInUser, and not going deeper in the early stages of development

@jarod & @oliver52806 The only way to change the ownership of a document is by assigning a new user id to the _owner field and using the {suppressAuth: true} option for the update method

Thanks! that is what the documentation implies, I’ll check it