I'm looking to create a user property such as "profile_pic" that would store a url string to the asociated user in file storage. Also want to create a field called "username". I dont see an option for creating custom user properties anywhere. Is this something that's possible or should I just go with creating a "Profile" table and store a reference to the user ID, in a sense creating a one to one relationship.
There two workarounds you can choose from.
- Use the user preferences object.
- The more common one is to create a custom user collection. within it add all the custom-made attributes required for the user in your app.
Ok perfect. These where the options I was looking at but I just wanted to make sure I wasn't re-inventing the wheel, thank you π
π
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...