
Super excited that 1.5 is now available for cloud!
Question.. how do I set an attribute to auto populate with the user ID?
Or what’s the easiest way to have that linked?

depends on how you're creating the document.
For example, I have a users/profiles collection and a function that triggers when a new user is created. Then, i take that data and create the document in users/profiles collection

Just generally I wondered if it could be set as a default value or a trigger rather than having to be passed through as a value from a web app for example
Recommended threads
- transaction like functionality
As I understand it appwrite doesn't support transactions. I'm attempting to make a document in three separate collections at the same time when a user register...
- Error while login the member which is in...
Facing some error. Error logging in: Exception: No team access. Please contact your administrator. But the email/name/ new client I have created is in my tea...
- Document already existed
Hi, I am trying to add a document via cloud function using nodejs22. Everytime I do `await db.createDocument( dbid, collectionid, customDocId, data);` it will g...
