I created a member Login by adding Wix Members, a My Account page was created at the same time showing their names and emails. But I also want to show some specific contents to specific member’s pages such as an unique ID to each member and display them when they log in. I could not find where the Members datacollection is, so I created a database called Members and input their names, emails as well as the Unique IDs I allocated. I then link the database to a dynamic page displaying the contents from the database and filtered by Owner is logged-in user. But it did not work out. Can someone help please?
Hi Tina,
currently you can not access members collection as a database. But you can use code to retrieve currently logged-in user and its info. Then, you can (through code again) show it on the page.
You need to import the wixUsers module and then use it to get currentUser. More information about the api can be found here https://www.wix.com/code/reference/wix-users.html
kind regards,
Marius