# How to pick data from firebase to make a profil screen without making a list

**URL:** <https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116>\
**Category:** Questions about Thunkable X\
**Created:** [May 4, 2023, 11:13am UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116 "2023-05-04T11:13:27Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![selmouniasmaa834r6al](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/selmouniasmaa834r6al/32/151540_2.png) [@selmouniasmaa834r6al](https://community.thunkable.com/u/selmouniasmaa834r6al)\
**Post date:** [May 6, 2023, 9:36pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/22 "2023-05-06T21:36:56Z")

</div>

I used “app variable user ID” to save the user id but i didn’t use a variable to store the email adress caus when I deleted the convertEmailtold function It also delete the email address.

---

<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:** [May 6, 2023, 10:42pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/23 "2023-05-06T22:42:21Z")

</div>

Can you share your project with me? There are blocks you’re using that I can’t see that are causing the problem with data being stored in the wrong Firebase key.

---

<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 7, 2023, 5:05am UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/24 "2023-05-07T05:05:13Z")

</div>

You still need to have another `app variable` to store the email ID so you can use it in other parts of the code.

You mentioned your problem is with the Sign Up block but you provided a copy of the Sign In block. Can you provide a copy of the Sign Up too to compare the two?

---

<div class="post-metadata">

**Author:** ![selmouniasmaa834r6al](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/selmouniasmaa834r6al/32/151540_2.png) [@selmouniasmaa834r6al](https://community.thunkable.com/u/selmouniasmaa834r6al)\
**Post date:** [May 7, 2023, 8:55am UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/25 "2023-05-07T08:55:24Z")

</div>

![E2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/2/72c03f0ce7b12f89113d18d7778a838707ffac8d.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:** [May 7, 2023, 1:57pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/26 "2023-05-07T13:57:41Z")

</div>

What @muneer is saying is that you need to store the `Enter your email's Text` block in a variable. Because this…

![B2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/1/51ab64b47c8aa831b7e84ee79cb4816241a20cb1.png)

…will always save to the same key in Firebase. You’ve hard-coded the email address as a text string. You need to replace that with a variable holding the email address because it will be different for each user.

---

<div class="post-metadata">

**Author:** ![selmouniasmaa834r6al](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/selmouniasmaa834r6al/32/151540_2.png) [@selmouniasmaa834r6al](https://community.thunkable.com/u/selmouniasmaa834r6al)\
**Post date:** [May 7, 2023, 2:02pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/27 "2023-05-07T14:02:39Z")

</div>

![Em](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/4/d47afc5238834a04b7ec6310a7f48edd74248fd8.png)  
I’ve already change it

---

<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:** [May 7, 2023, 2:13pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/28 "2023-05-07T14:13:11Z")

</div>

Your Firebase path used to be /profil/[email]/First name. Now you’re using [userid][email]/profil/First name. But in your screenshot way above, you showed your Firebase data starting with profil.

These paths are like turn-by-turn directions to the data… make sure that you path matches your actual Firebase structure.

And if you join the user id and email, you’ll get something like this:

userid: 12345  
email [a@a.com](mailto:a@a.com)

joined: [12345a@a.com](mailto:12345a@a.com)

when you probably want 12345/a@a.com

So you need to add a “/” between `app variable userid` and `email`

---

<div class="post-metadata">

**Author:** ![selmouniasmaa834r6al](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/selmouniasmaa834r6al/32/151540_2.png) [@selmouniasmaa834r6al](https://community.thunkable.com/u/selmouniasmaa834r6al)\
**Post date:** [May 7, 2023, 3:16pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/29 "2023-05-07T15:16:25Z")

</div>

![E3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/8/28e186fbae422b3ae93de1966d6104e232b3eee8.png)  
Nothing changed in Firebase

---

<div class="post-metadata">

**Author:** ![selmouniasmaa834r6al](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/selmouniasmaa834r6al/32/151540_2.png) [@selmouniasmaa834r6al](https://community.thunkable.com/u/selmouniasmaa834r6al)\
**Post date:** [May 7, 2023, 3:20pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/30 "2023-05-07T15:20:35Z")

</div>

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

---

<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 7, 2023, 3:23pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/31 "2023-05-07T15:23:43Z")

</div>

In your blocks you have an extra **/** between `/profil/` and the key such as `/password`. You need to remove one of the \*\*/\*\*s.

Another issue is the way you do the blocks in the screen `Profil`. You can have all the blocks in the same `Starts` event instead of creating multiple `Starts` blocks doing the same thing for different labels.

---

<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:** [May 7, 2023, 3:42pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/32 "2023-05-07T15:42:03Z")

</div>

Typically, you would have a **users** key at the top-level of Firebase. Here’s an example I use in a project:

 ![Screenshot 2023-05-07 at 8.42.26 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/f/1fade8c2d1749b1d5b377ea48b7d6e6d9edf107b.png)

Above “users” is the database url. When I want to set a value, I would reference users/[app variable user id]/Journal… etc.

What does your top-level look like? What is above “profil” in this screenshot? Where is [app variable userid] supposed to be in your Firebase console?

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

---

<div class="post-metadata">

**Author:** ![selmouniasmaa834r6al](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/selmouniasmaa834r6al/32/151540_2.png) [@selmouniasmaa834r6al](https://community.thunkable.com/u/selmouniasmaa834r6al)\
**Post date:** [May 7, 2023, 3:46pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/33 "2023-05-07T15:46:36Z")

</div>

![Url](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e432063fb580cda8f8bf4ef6061135c77a83da6f.png)

---

<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 7, 2023, 3:49pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/34 "2023-05-07T15:49:16Z")

</div>

Your data structure will allow overwriting the data every time you have a new user signing up.

---

<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:** [May 7, 2023, 6:21pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/35 "2023-05-07T18:21:03Z")

</div>

> [@muneer](#):
>
> Your data structure will allow overwriting the data every time you have a new user signing up.

That’s right. There is nothing unique about the paths to your different keys (data). You need to organize it as I’ve shown above with users/[user id]/… so that each user id has it’s own key and path to its data.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [August 5, 2023, 6:21pm UTC](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116/36 "2023-08-05T18:21:28Z")

</div>

Closed on August 5, 2023, 6:21pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

[Previous page](https://community.thunkable.com/t/how-to-pick-data-from-firebase-to-make-a-profil-screen-without-making-a-list/2403116.md?page=1)
