I want to build an app in which no login is necessary, since all information is public. Even so, I need to store some information in the database.
I have created a collection to store the necessary data, but when trying to use Magic text to display data from the database, I only have access to the collection’s count. I can’t find a way to select one o more records from this collection. And, as I said, there is no logged in user, so I can’t go that way either.
Is there a way to access the data in my collections without a logged in user?
By the way, I set up the collection’s permissions so that everyone can access to view the data.
In your app add a button something like View Data. The button should function as a login button.
The data for the login can be taken from the hidden fields that have login details stored from the user that you have already created. (Could use default text as credentials)
So basically, everyone will be using the app by login in under a single set of credentials.
I’ll explore the idea of the hidden credentials, but this brings up another question: is it possible to access the data in a collection that has no relation with the users collection.
For example, say I want to get the app’s title and icon from a collection that has only one record. Is that possible, whether the user is logged in or not?
“For example, say I want to get the app’s title and icon from a collection that has only one record. Is that possible, whether the user is logged in or not?”
Yes of course, the data you show doesn’t need to be user dependant. You can set dependencies based on other non-user related collections.
For example, your rock band goes on the toor and you want users to the see the place and time dependant on the day.
With the use of Lists and date picker or calendar you can make that happen.
Or in your example, you could have a list of bands that feeds from a collection where you store band name, title and icon. Based on what band they click a relevant information to that band will be presented. You will need to set up relations to make that happen, but that’s an essential part of linking DBs
you can use lists, text fields, images, there might be something else as well. If not sure, custom list is always a decent option
The thing about Adalo, is that a lot of things are possible and you just got to keep trying different things!