Hi all,
So after searching the community and docs for some time, I have been unable to solve this problem and hoped someone could help out. I am testing out an app where someone logs in (firebase authentication), it takes them to one of three home pages where they can upload data to airtable. Just for some fancy UI sleight of hand, I would like the page to display the user’s name, photo, and ID number. The struggle I am having is differentiating the user from the log-in so that it can determine which home page they need to see, as well as the app being able to pull that specific user’s details (photo, name, and ID).
I tried this and this solution with regards to the informtion retreival but unfortunately it’s just not working for me, as well as this for the multi-user thing.
Anyone have these problems and manage solve them?
Edit:
As advised by Muneer, this is what my sign in page looks like, as well as the blocks. The idea is that instead of setting each email specifically as is in the screenshot which can become an issue if there’s a lot of users, I would like it to be able to differentiate between users based on their sign in ID so that they see the appropriate page.
I did try creating objects in the realtime db then setting the emails within that list, but I failed terribly at doing a vlookup of all items in the objects. I did also try creating individual keys e.g “V1, V1.1, V2, V3” with the sign in IDs as their calues, but also failed at setting it to something like “so long as the key contains V1, open HomePageV2”.
EDIT 2: The blocks all say email so that I could post it. The actual doc has a different email in each conditional statement, but my goal is to have emaisl grouped into something that I can refer to so that I dont have to make conditional statements for all emails (e.g if there are 15 users, they can be grouped into 3 groups of five, each group corresponding to different conditions).