iam trying to store user input from different react componets but i was unable to store in appwrite. but i was able to store the inputs of only one components. 1.i have created seperate file for appwrite initialisation. 2.i have used createDocument only once after that i used updateDocument.even though iam unable to store .
@Binyamin please look at it once
It's looks like the same issue we have dealt couple a days ago?
If so then what you need to do is to get back the ID from the createDocument, save it then use it with the updateDocument function
how to save the id ???
When you use the createDocument you get back the object
https://appwrite.io/docs/client/databases?sdk=web-default#databasesCreateDocument
yes iam getting document id in my console as an object but how to save and use it in another component
You'll need to send back the info to your react parent-component which then send it to all the child components
Recommended threads
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...