Hello! I have a problem with a Users table. Something went wrong i cannot sync users data only the first user data is synced. It can be seen on the layout screen when I open the data window beneath& Only first row is available. How can i fix it? Thank you!
Do you have an filters on your Users collection, or are you limiting how many rows can be shown? I see the āSee Allā option which would lead me to believe that you have the collection limited to only one row.
Thank you for quick respond. I don know how filters can be applied to users collection and cant find this āSee allā button. But that may be the case.
I was thinking that I messed up the Users tab myself on the very beginning of this app. I started it long ago and then paused for a very long time. At the beginning of this app Glide had an update which changed the starting point for every app (things and categories were add as starting template) and it was my first app which i wanted to build without excel. But I used to clear all tabs which glide provided as a starting point, so I deleted thing categories & the users tab too. Then when i add my data I had to reassigned the users table to one of my tabs. Thought that could be the reason of incorrect work of the users table now.
Can you please show me where filters can be managed and where th āSee allā button is? I cant find it
Thank you
Select the users collection in the lower left components panel in the builder, and then take a look at the configuration in the right hand panel. Post screenshots of that configuration.
Ok those filters, Yeah i do have some visibility conditions for this screen and folters for some components of the screen. But no there no filters for the main screen to filter Users data and even if I set up filter for example āemail is a signed in userā still it sycs only with the data from the first row
Thatās the filter and configuration for the screen. I want to see the filter and configuration for the Users collection. I want to see everything in that configuration, including the filter and what you have set for the limits of the number of items shown.
Users collection works properly add another screen for Calss collection it has only visibility condition and is the one Iām struggling with, which is somehow works only for the first row in users data
I think Iām confused. I thought you were talking about a problem with the Users collection only showing one user, and now you are talking about a different collection.
Iām now starting to wonder if you are confusing visibility conditions and filters. Visibility is used to control which components are visible. Filters are used to control which rows are visible inside that component.
(If itās easier to write in your native language, you are welcome to do that. We can translate to read it.)
Im not sure if it is easier to right on ukrainian about glide) Iāll try to explain myself properly.
Im building a school app it has parents, teachers and school managers as users & children as data. Children are grouped in certain classes.
My users collection has visible condition so it can be seen only by school personal & teachers because it represents a contact list of the school personal
My collection 1,2,3,4,5,6,7,8 represents classes with children. Each class is linked to e certain teacher so it has a visible condition too. And this visible condition doesnāt work properly. None of this class-collection has a filter set.
In my tests what could be wrong I found that this visible condition for class collection works only for the first row in my users data. For example, if i leave āclass linkedā column for the first user empty as he has no class linked, none of the teachers will see classes. But if I set that the first row user is linked to class 2 and 4 - every teacher will see those classes, every user who has access to this screen will see classes 2 and 4.
I hope that will shed some light)
I think Iām understanding better.
Your visibility conditions will look at the row that the entire screen is attached to. Your screen is not filtered, so it attaches to the first row in the table.
I think you need to add a filter to the screen/tab where the email is the āsigned in userā. That way the screen will attach to the correct user row, and the visibility conditions for each collection will use values from that signed in userās row.
If this used to work for you in the past, then itās possible that you may have had Row Owners applied to the user table. Maybe you removed row owners or you added role functionality which may have given your user access to all user rows instead of only their own row. In this case you need to add the filters to the screen.
Hope that makes sense.
Thank you Im an idiot) Actually Iāve tried that but thought it didnt work just because I was switching between two rows with the same āclass linkedā information.
Thank you for your patients
Glad we figured it out.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.