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.

1 Like