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
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...
- CDN not delivering correct bundle
My site 69b4cd410035893573dc is not delivering the latest deployed version via CDN, it seems stuck on versions from previoiu days, alternative links for the lat...