Hello wix coders and database collectors!=) my question is about the difference between _id field vs _owner field. Now say I have a dynamic CATEGORY page that members can access. Say they fill the data through a form successfully connected to that database. The “member profile page” code suggested* so far uses dynamic page url ending with {id}. But the problem is, each time a member logs out, signs in and again fills the form, the database generates ANOTHER unique _id but the SAME _owner! Which means when the user goes to her profile that second time, she only sees her latest 1 entry instead of 2 entries. There isn’t an option for the dynamic page url to end with {owner} either. So… if my member page is a dynamic Category page… we can’t really use the logic of the “member profile page” code suggested* right? Any way to use the _owner field instead?
*Velo Tutorial: Building Your Own Members Area | Help Center | Wix.com
Hi.
Seems like a different use case compared to user pages described in Members Area example.
Do you want to have a single shared list of categories editable by all users or a separate category list per user ?
A category dynamic page per user… the same way a social media profile page shows your info/pics under your username (typically with a URL that ends with /profile/{username}… the member area example is not suitable for category dynamic page, it only works with single item dynamic page =)
Since you need to support two different sets of data (first being the list of your users and the second one being user specific data with multiple entries for each user) you can reuse the members area approach to handle user pages but additionally use a repeater inside a user page to render all the user items from a different collection. This one you would need to handle separately using wix-data API.