How can i make the logged-in and signed up user credentials to automatically update in my particular data collection in CMS? I am using built-in signup/login page from the wix and the user data is only accessible through the Member site of the dashboard.
What I am trying to do?
There is a list of tasks that users can pick on my website and I want those tasks to be assigned to the user who picked them with a click of a button. The task will be shown in a separate dashboard with all the progress tracking and task completion data.
To automatically update the logged-in and signed-up user credentials in your specific data collection in the CMS, you can use Wixâs Members API along with custom code to assign tasks to users.
Would you please explain in detail? This is my first time building a website in wix so. Anything would be a great help. Thanks!
The point of the built in member system is that even you as a developer do not have access to the stored passwords. Furthermore, due to hashing, Iâm pretty sure even Wix does not have access to view the actual password internally
Why would you want to store your membersâ passwords in your own CMS? This creates many many security issues, as well as soe ethical ones
Oh not the password i just want userâs Name, email id & phone number only
Oh I see, misunderstanding of the word âcredentialsâ
May I ask what exactly youâre hoping to achieve then?
You can access that data programmatically using wixMembers
, wixCrm
, and wixData
(As, the members are already stored in their own collections - Members/PublicData
, and Members/PrivateMemberData
)
in the image there are users logged in to the website. Now I want to use their name, email and phone numbers so that I can assign them with the tasks that they are gonna choose in the website with a click of button.
i thought if I can get these users into a CMS data collection I can use the concept of relational database to connect it to âtaskâ data collection.
i donât know. Please tell me what would be the best way to do this?
I just want to make a âdashboardâ so that every task a user has selected will be displayed on it. Also, showing a progress bar and graphics kinds of stuff, you know.
Not entirely sure how your custom âtasksâ system works
Does each task get assigned to a single user? If so, you can set the member ID into the native _owner
field in the tasks collection when the record is created, and it will be assigned to (owned by) the member
If you have multiple, perhaps youâd want to simply store a string array that has all member IDs that have this task
1 Like
Sure I will try doing that. can you give me topics that I should learn to do this?