- My goal:
I want to call a url, triggered from a button click, which has path parameters that need to be dynamically set from a list view component
- Issue:
When I try to access the url through this method :
PUT baseurl/admin/qualifications/{{ item.id }}/approve
The item.id is returned as null
- Steps I've taken to troubleshoot:
Gone through forum posts, tried different combinations such as current.id or selectedRow.id and item.id , nothing works
Sorry I am new to retool
- Additional info and problem in detail:
So basically the page is initally a table component, whose rows have a button, which on click opens up a modal, and on opening of the modal, a db query is triggered which loads up data
Now the data is loaded into a list component, and within the list component there is a button, now on the button click I want an api to be triggered, but a path parameter gets added to the url
This is the list view components details
This is a part of how the listview component looks like and its on the button click I want to trigger the call
This is the container inside the listViews data
PS I also have another button, which should trigger an api call, but a different one, but that also requires the path parameter to be dynamically added
Can someone tell me how to handle this, I am really confused
If any more info is required do let me know, ill provide them asap
Thank you



