Hi All,
First-time poster. I’ve been reading through the community postings for weeks now while learning Glide, and it’s been such a huge help, thank you. My biggest issue I can’t seem to solve is getting Tab Visibility to work. My app is “Public with E-mail” and is a directory of people which consists of:
-
A “Welcome” screen tab with a register button which opens up a short form asking for the user’s name and title and a checkbox that must be ticked to submit the form. (I created a Glide-only table called “User Data” in Data that captures this form information.)
-
Tabs that list the actual directory (a tab for All, a tab for Available, a tab for Advanced Search…side-note thank you @Robert_Petitto I was really stuck on advanced filtering before finding your video! )
-
A “My Profile” tab where a user can view and edit their profile IF they are contained in the directory. (The app is meant to be used by members of the directory as well as outsiders.)
WHAT I WANT TO HAPPEN:
- First-time User logs in and is only shown the Welcome tab, where they click to access the registration form and submit their name, title, and click a checkbox (all are required).
- Upon submission of form, the Welcome tab disappears and the other tabs appear, with the “My Profile” tab only appearing if the e-mail of the logged in user matches e-mail address on the directory Google sheet. (The “View Profile” tab itself is the detailed view of the directory, filtered to only show and be edited by the logged-in user, and this functionality works as intended.)
- Existing user (who has already submitted the registration form in a prior session) opens the app and does not see the “Welcome” tab, and can see all other tabs including, if they are in the directory, the “My Profile” tab.
WHAT IS HAPPENING:
- “Welcome” tab appears by itself but after submitting the form it just goes back to the Welcome Screen, with no other tabs appearing. Note that the form is successfully populating the “User Data” sheet.
- If I start over and Preview the app as someone who has already submitted the form, I am still only shown the “Welcome” tab and no other tabs.
- “My Profile” tab does not show up “when e-mail is signed-in user” when I am previewing as a directory member. Oddly it does show up when I change that to “is NOT a signed-in user”?!?!?! (Because of above I had to turn off the other tab visibility settings to discover this tab’s failure)
.
.
.
SCREENSHOTS OF CURRENT SETTINGS:
I attached the User Profile settings to a sheet called “User Data” with Row IDs that lives only in Glide. I set the e-mail address writing to Email using a “special value” component in the registration form for my testing purposes, only because I wasn’t sure how reliable the “Preview As” e-mail is recorded in draft mode? (I wasn’t seeing it recorded in “User Data” until I used this method.)
.
.
.
My settings for the “Welcome” tab - “T & C” is the form checkbox which is a column in the “User Data” sheet.
.
.
.
My settings for all three various tabs that list directory members…
.
.
.
My settings for the “My Profile” tab which I only want to be viewable to people listed in the directory. I have a relational column paired with a look-up column in “User Data” which retrieves the e-mail address from the “Directory” to match it to the current user when applicable.
.
.
.
TROUBLESHOOTING QUESTIONS:
- Does Tab Visibility not work on free apps? I read that automatic changes to sheets don’t refresh on free apps, but the changes made by the form submission are not at sheet-level, they are at Glide-level. Also the documentation only references things like formulas, not form submission.
- Does Tab Visibility not work unless the app is published? I am fully in draft-mode and testing this functionality by previewing as different users - but am a little unclear on whether Glide is consistently referencing my own “User Data” Glide-sheet for visibility functionality, or if this functionality relies on logs created once the app is published?
- The only reason I even pursued this complexity is because the very very first time I tried out visibility was in having the Welcome screen disappear upon form submission, and I swear it WORKED that very first time, just never since. Is there an invisible Glide log at play here?
Thankful for any insights and for reading this long post!
.
.
.
I feel I should note that I am not a sneaky company or commercial entity that’s benefitting from this app - it’s a personal endeavor to help out a zero-funded group I belong to and unfortunately it has to remain in the “free” realm…