Is there a limit of documents in a collection that can be showed? I just added 6 documents more in my collection, and my web app is just showing the first one
By default the listDocuments function should return at most 25 documents, but that can be raised using Query.limit(number).
Do you have document level permission enabled?
I think this is it. I have 30 documents, Had 24 before add the new 6. I think thats why just show the first one. I will use Query instead
Yes I do
And did you have set read permission for each document?
I set the permissions in the collection
But if you have document level permission enabled and the document doesn't has the permission then you will not be able to access them
If you want all documents being available for everyone then you should turn off document level permission
I fixed using Querys, Thanks for your time guys ❤️
can this be marked as solved now?
yes
[SOLVED] How many documents in a collection can be showed in a web app?
Recommended threads
- Appwrite DNS nameservers return SERVFAIL...
My custom domain demomanasa.online (and all its subdomains) stopped resolving with ERR_NAME_NOT_RESOLVED for all visitors. I have traced the failure to Appwrite...
- Framework categorization for Sites
Hello, I want to deploy my web app via Appwrite SItes. My web app is vite+reactjs. In the Appwrite docs, it creates a vite+react app, and chooses React from the...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...