How is the owner field defined?
Can you modify it?
Hi carlosgalvarez,
In general, owner field refer to permission who is the creator or owner of a row of data. It can difference with Id field.
Example 1. Using in shopping cart
In this case, owner field mean the buyer who put item in shopping cart. It will not same with ID field because ID field was a code to represent a row of data.
Example 2. Using in member area
In this case, owner and ID field are equal.
Enjoy,
Heson
Thanks a lot, Hesson.
Let’s say in a collection where everyone can write. What will be the owner for a record made by a visitor (nonmember)?
is it unique or generic?
Hi again,
Keep it simple.
If a web-user is your site member, he/she may use same owner code in your website even he/she doesn’t any action.
If a web-user doesn’t need to become a site member and can put data into your database, owner field may change every time. Although the web-user is the same person, he/she action may not use same owner code.
I have a collection that was created by non logged in users (not members either at the time). In each row I have the name of the author of the item but the owner field is of course empty.
How can I assign the author’s I’d to the owner field as it is not possible to edit or modify this field.
I need this to filter this data Base buy the logged current user.
Thanks for your