# How to Get Data based on User ID

**URL:** <https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380>\
**Category:** Questions about Thunkable X\
**Created:** [May 1, 2021, 6:26pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380 "2021-05-01T18:26:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikkun](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vikkun](https://community.thunkable.com/u/vikkun)\
**Post date:** [May 1, 2021, 6:26pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/1 "2021-05-01T18:26:53Z")

</div>

Hi Team,

How i can get all data from air table which are inserted by app user what condition will be there pls share details so i can get some of idea .

here i am using firebase email authentication.

Thanks

---

<div class="post-metadata">

**Author:** ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)\
**Post date:** [May 2, 2021, 5:28am UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/2 "2021-05-02T05:28:11Z")

</div>

i am not working on this before but from what i understand. When user successfully log in,you can place his/email at label and then search at airtable and display it at screen.

---

<div class="post-metadata">

**Author:** ![vikkun](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vikkun](https://community.thunkable.com/u/vikkun)\
**Post date:** [May 2, 2021, 9:34am UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/3 "2021-05-02T09:34:35Z")

</div>

Hi @ozel1978 Thanks for revert.

I have resolved this now am getting info based on user.  
I have stored user in variable and Airtable

---

<div class="post-metadata">

**Author:** ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)\
**Post date:** [May 2, 2021, 3:43pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/4 "2021-05-02T15:43:40Z")

</div>

@vikkun  
great to hear that… if you can share the block so we do reference in future.

---

<div class="post-metadata">

**Author:** ![vikkun](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vikkun](https://community.thunkable.com/u/vikkun)\
**Post date:** [May 2, 2021, 3:56pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/5 "2021-05-02T15:56:51Z")

</div>

Hi @ozel1978 Thanks,

This a block which I have used

 ![IMG_20210502_212343](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/e/9e52cfe065e82d72050dce5da3c5fb06aaf9113d.jpeg)

I hope it will useful for other who are new like me☺️

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 2, 2021, 4:56pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/6 "2021-05-02T16:56:03Z")

</div>

Please note that GetAllRows block only works in the Legacy UI. It is not available in the DnD UI so you are building an app without porting to new UI in mind.

---

<div class="post-metadata">

**Author:** ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)\
**Post date:** [May 14, 2021, 1:57pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/7 "2021-05-14T13:57:29Z")

</div>

can you provide full screen on this block and how the design look like?

i plan to do same thing. appreciated your help.

---

<div class="post-metadata">

**Author:** ![vikkun](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vikkun](https://community.thunkable.com/u/vikkun)\
**Post date:** [May 14, 2021, 4:05pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/8 "2021-05-14T16:05:16Z")

</div>

@ozel1978 block are available on same post go through that.

---

<div class="post-metadata">

**Author:** ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)\
**Post date:** [May 14, 2021, 4:12pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/9 "2021-05-14T16:12:22Z")

</div>

i could not see the last one, seem you join some block. and how the design look like?  
can you screen shoot?

---

<div class="post-metadata">

**Author:** ![vikkun](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vikkun](https://community.thunkable.com/u/vikkun)\
**Post date:** [May 14, 2021, 4:26pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/10 "2021-05-14T16:26:03Z")

</div>

There is nothing advance just shown column , you can show whatever column you want to show in list vwr just add it on join block.

---

<div class="post-metadata">

**Author:** ![josh.sprye](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@josh.sprye](https://community.thunkable.com/u/josh.sprye)\
**Post date:** [July 26, 2021, 10:45pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/11 "2021-07-26T22:45:12Z")

</div>

Hello thunker friends.

I’m searching for this solution with the new UI. Like the orginal poster, I’m trying to filter my data table by a UserID, retrieved on sign-in.

Has anyone found an updated walk through using the new blocks? Alternatively, does anyone have a rosetta stone that helps me translate old blocks to new UI for the great tutorials that are already out there?

Thank you kindly,  
Josh

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [July 27, 2021, 8:03am UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/12 "2021-07-27T08:03:07Z")

</div>

please show a screenshot of what have you done so far.

---

<div class="post-metadata">

**Author:** ![josh.sprye](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@josh.sprye](https://community.thunkable.com/u/josh.sprye)\
**Post date:** [July 27, 2021, 5:48pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/13 "2021-07-27T17:48:55Z")

</div>

![screenshot](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/f/af4321c858e76f8d18b0f461765fb183131cc610.jpeg)  
For context. I’m trying to build a tracking app that records the amount of time someone spends connecting socially. On the home screen, the user can save a connection event (into airtable ConnectionTracker). This event consists of a name, date the connection happened, and amount of time spent. I also capture the userID and time the event was recorded. These are captured in the create row block on the right.

I’d also like to recall those records and show them to the user. What I ‘think’ I’m doing is:

1. creating a locally stored table called LocalConnections
2. trying to populate that table with rows that match the UserID

Thank you for taking a look.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [July 27, 2021, 7:33pm UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/14 "2021-07-27T19:33:27Z")

</div>

This sample project should give you the basic idea for what you are trying to do.  
[https://x.thunkable.com/projectPage/5fb9fb1dbfeb240011084d78](https://x.thunkable.com/projectPage/5fb9fb1dbfeb240011084d78)

---

<div class="post-metadata">

**Author:** ![josh.sprye](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@josh.sprye](https://community.thunkable.com/u/josh.sprye)\
**Post date:** [July 28, 2021, 3:17am UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/15 "2021-07-28T03:17:29Z")

</div>

![Screen Shot 2021-07-27 at 8.10.43 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/f/7f9d212d225ec4072835cf3211298f6ad574c0db.png)

Thank you @muneer for your help. My error was that I nested the function under the ‘if error’ scenario instead of ‘if not error’. I also fixed an ID reference. Spots circled in screen shot.

Also, your sample project won’t preview for me. App preview says ‘Something has gone wrong. Check your blocks and reset the page.’ Webpreview, the first page will open, but when I select an item, the screen goes blank.

You’ve certainly helped me enough already. Thank you kindly.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [July 28, 2021, 10:03am UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/16 "2021-07-28T10:03:40Z")

</div>

Thunkable developers keep enhancing the system and sometimes you need to re-visit your code to make it compatible with the latest changes.

I fixed my project, you can delete the one you have now and remix the project again and you should see it working.

---

<div class="post-metadata">

**Author:** ![roscoron390jb](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@roscoron390jb](https://community.thunkable.com/u/roscoron390jb)\
**Post date:** [April 23, 2022, 12:35am UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/17 "2022-04-23T00:35:09Z")

</div>

hi thunkers ! i really need some help right now, i also want to save data for each user id.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 23, 2022, 12:41am UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/18 "2022-04-23T00:41:28Z")

</div>

What have you tried? There are tutorials and documentation and videos about using Firebase to save user data.

---

<div class="post-metadata">

**Author:** ![roscoron390jb](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@roscoron390jb](https://community.thunkable.com/u/roscoron390jb)\
**Post date:** [April 23, 2022, 2:30am UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/19 "2022-04-23T02:30:21Z")

</div>

hi, i had tried the youtube tutorial on how to use cloud variables to save data…but when i try to test my app it says “something just got wrong. check your blocks and reset this page”.

could you will help me to save my data base for each user id?

this are my blocks

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/d/ddb26d27924a15e649cac80dd79e0d442abdd326.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/9/d9223043da9e6a7ebd4e3620e705a2a464762fd8.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 23, 2022, 2:37am UTC](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380/20 "2022-04-23T02:37:32Z")

</div>

The very first thing you need to do is a **simple** test to make sure you can write and read data from Firebase.

After signing in, try to `set cloud variable [path]` to a text value such as “test”. The `[path]` should be the actual Firebase node such as userID/title. Then, try to set a label’s text to that same variable (`cloud variable [path`).

Let us know if that works. If it doesn’t, post a screenshot of the blocks for that simple test and also make sure that you have entered Firebase authentication info in Thunkable and set your Realtime Database rules in Firebase Console to allow access.

[Next page](https://community.thunkable.com/t/how-to-get-data-based-on-user-id/1257380.md?page=2)
