I have createDocument in one component and I want to use the documentid in another component to updateDocument
And?
How do I use documentid in another component to update the document
Not sure what you mean...did you look at the result of create document?
Create document is working fine
But I need to update my document in another component
Look at the response of create document
I'm not sure what the problem is
Yes iam getting the id in my console
Ok and?
I have created my document in one component and I want to update my document with same documentid in another component
I want to use that id in another component
I think you really need more practice with react
I have practiced it
Could please help me with that
Are you able to get the id after creating the document?
Yes
I can't help any more then. You'll need to find some react course
Ok let someone in this community will help
Iam creating new post for the people who know react
And help me with that
I suggest going to a react discord server
Ok
[CLOSED] UpdateDocument()..
Recommended threads
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?