How do I open an element from ListView on another screen?

Hello! I want to open a clickable Element from a ListView on another screen.
On the other screen I need the ID from the Element to be retrieved for my URL. How do I retrieve the ID and how can I show the element?

image

This is the Screen, where the ListView is.

image
This is screen 2 and in this block I need the ID. (For the URL, to load the data from the database)
At this moment I was trying to store the selectionIndex in a TinyDB, but the SelectionIndex does not equal the right ID.

The data type is a json.

How do I retrieve the ID to eventually store it either in a TinyDB or to get it directly onto the next page?

We need to know the vlaue of the responseContent.
Show it on a label, and let us know.

maybe you can use virtual screens, have a look here How to use Virtual Screens

Use different screens wisely

If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a while...      
The recommended method of switching screens in App Inventor
(Thanks Taifun)
 
Also see demo: multiscreen.aia
 

Response Content is a json.

of course it is a json.
Show us what the data is.

Where did you get that URL http://10.68.18.134:6856/customers ?

I have a database underlying the app, and a restful API. this URL comes from my code from the restful API. This is the request, to load the list of customers to the app.

The data of the list, is basically a list, where each item consists of 18 attributes.
The list is retrieved from the database.
The first attribute of an item is the ID.

If you did this earlier, you already got the answer i think.

But how do I split the selected item of my list, so that I can get the ID out of it?

Repeat your question again did not help.
Without knowing your data structure, no one can help you.

What exactly do you mean by data structure?
The structure of my data, how it is seen in the list view? or how it comes from the database...

  1. add a Label on screen
  2. in Web.GotText event, set Label.text to responseContent
  3. after app run, show us what's on the Label.


and the list goes on.... since I have about 29 Customers in my database.

each item ends with the "zipCode"

You said ID, I assume its costomerId.

In Screen2 you can retrieve the id with TinyDB.

IT DOES WORK!!! Thank you so much for your help, you do not know how happy I am right now!