My app has a list of ads with data from MYSQL. It assembles the list using the Dynamic Components extension.
I need to get the id of the user and the ad to display the details of this ad on another screen or add it to the favorites.
I am not able to solve this, since the id of the dynamic components are not the same sequence as the user ID or the ad, nor can I consider doing it this way.
For example, when the user clicks on add to favorites, I need to get the id of the user who owns the ad and the ad.
Yes you have to detect user and Id of ad and save them somewhere to manage this data . I don’t know how you get user and how you store them but for Id I think you have to see here
I’m not sure because never used schema but I think you have to modify number in the code . Call a list of Id and save them in a variable. When schema starts use select list item in list (list of ID) and index (number) and not the only number . Id of ads are a number or also letters ? If it’s not a number we have to try something different