Hi Yisrael,
I want to create an account dashboard that my site members will be directed to right after logging in. The account dashboard will be a Dynamic Page. I simply cant just create a dynamic page and then make it for site members only, because I would have to send each of my members an individual link for them to access their corresponding dynamic page, after they log in.
So I followed this tutorial which seems to grab the current id and directs the user to their corresponding dynamic page, as long as the dynamic page url has mydatabase/Update/id ( https://support.wix.com/en/article/how-to-create-member-profile-pages-with-wix-code .) This worked, however the problem with this is, the user has to input some type of data for the database linked to the dynamic page to create their user id. If I go to the database and add a new user’s name, email and favorite food for example, before they create an account, When that user using the same email address logs in, the dynamic page does not register the same user logging in.
The only thing I can come up with is creating an account for all of my customers, entering at least one data element in the database. Then importing the rest of the data for all of the fields in the database. This would make the dynamic page complete, then I would send my customers their log in information.
Or just leaving it up to the user to create an account, allowing them to enter their first, last and email. Then I provide a button that links to another dynamic page (this link would be a field n the database I used to create the initial dynamic page).
I hope this makes sense.