Bring value from a joined list

Hello everyone, I hope you're doing all right
I have this tag from firebase realtime

as you can see it's a tag that store trips information
in this tag I want to bring only the phonenumber from the tag in firebase not from any other place
thank you

I'm guessing the phone number you want to extract is between the first '\n' and the following ':'

This looks like a half baked attempt at JSON, but the phone number is a tag instead of a value, and the '{' and '}' marks are missing.

Either

Don't store you data like that, use separate subtags for each element. Then it is easy enough to return the json response for the main tag, and select the phonenumber, using dictionary blocks.

or

Provide a unique delimiter by which you can use the many text manipulation blocks to extract the phonenumber.

Can show me what's the best way to create a list as you explained
The listviewer should show bunch of information in one line as you can see

Provide an example of all the values and their potential tag names (e.g. name,date,info and Tom,2025-09-18,neighbour).

Trip IS
Phonenumber
Destination : from
to
type of vehicle
type of load
departure time : datepicker
timepicker

Let me suggest some options:

Store the data on Firebase...

  1. As a list (one tag, all elements in list)
  2. As a dictionary (one tag, all elements with identifiers in a "json" string)
  3. As Firebase intends (one tag with sub tags for each element, possibly setting indexes) - uses web component.

The first two would require the return of all the data in the main tag, you then extract the required item from the returned data

The third option would allow you to just return the data you want based upon a query.

You are attempting to store your data as you want to display it in the listview, you want to store your data so that you can easily select individual elements. Displaying in the listview can be easily done back in the app.

2 Likes

this the first time I use dictionary do you know how to show it in a listview and then bring the phonenumber

Do you want to show all trips or just one ?

For just one trip, something like this:

You can return a taglist that has all the trip ids which you could then select from.

image

That's how I brought the list values
I still want to bring the phone number from the value in a random tag from the firbase realtime
this is the tag

and these are the steps

لقطة شاشة 2025-09-24 091904

I want to use listview afterpicking
when I click on the line it brings the phonenumber value only

You didn't answer this...

1 Like

yes, one element, each trip in a line
like this:

Something like this ?

image