Hi I’m doing this code and if you can answer me by today still. I’m saving this data in firebase but I have no idea how do I bring it back to another screen, I’m going to make a screen where the person’s profile will be and there wi
You can retrieve that data in the same way you are setting the cloud variable but you also want to make sure you can grab each part of that object so you can use the get property of object block.
The object is the cloud variable itself and the property is either Nome, Sobrenome, CPF, or Email.
Hi thanks for replying to me, but I still don’t understand, I’m new to this programming area if you can explain me again… I appreciate it, I’ll send you some more information below:
You have “CPF” twice so you’re actually getting the value at …/CPF/CPF which doesn’t exist. You can either delete the get property block and just use the full Firebase path that you have (you might need to remove the “/” after “/CPF”) – that’s the way I access Firebase values from Thunkable – or you can just delete this block:
What is the value of app variable userid when you display it in a label or text input by itself? Text input’s are helpful because you can copy from them and paste here on the forums.
Would you be able to export your Firebase data as JSON and post it here (if it’s not confidential)? If I could see it, I could provide the correct blocks for you. But based on what you shared already, the blocks you used should work so there must be something else going on. I would also try removing the leading “/” in front of “/usuarios/” to change it to “usuarios/”
You set your userID to a Firebase ID, but you saved the object under an email.
Example:
You saved it as this:
“luiz^primaz@aluno^senai^br”: {
“CPF”: “00000000009”,
“Email”: “luizeduardo@admin.br”,
“Nome”: “Luiz”,
“Sobrenome”: “Eduardo”
But you’re trying to retrieve it with this:
},
Htfc456ghd663g94Fhdsbnet…(A LONG STRING): {
“CPF”: “00000000009”,
“Email”: “luizeduardo@admin.br”,
“Nome”: “Luiz”,
“Sobrenome”: “Eduardo”
Ok I understand that I was trying to look for something in the wrong place, but now I’m having another problem, I’m trying to save the user’s UID but it’s saving as null:
Hello everyone! I recently facing an issue in Thunkable while accessing values from Firebase. I had mistakenly included “CPF” twice in my Firebase path, resulting in an invalid path and error.
However, after reading a helpful reply on the forum, I found the solution to my problem. I learned that I can either remove the “get property” block and utilize the full correct Firebase path, or simply delete the specific block causing the error. Thank You for your guidance.