You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently transitioned from Firebase to AppWrite and I'm trying to find a way to trigger a function before a document is created in a collection. Specifically, I want to add certain properties to a new document before it's actually created in the collection. Is there a mechanism in AppWrite for achieving this?
I have already reviewed the documentation and found the databases.*.collections.*.create event, but it triggers after the document has been created. I need to add required, calculated properties to ensure successful write operations.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
I recently transitioned from Firebase to AppWrite and I'm trying to find a way to trigger a function before a document is created in a collection. Specifically, I want to add certain properties to a new document before it's actually created in the collection. Is there a mechanism in AppWrite for achieving this?
I have already reviewed the documentation and found the
databases.*.collections.*.create
event, but it triggers after the document has been created. I need to add required, calculated properties to ensure successful write operations.Thank you for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions