Can I return a table reference and an add-on of the same table reference separately in the same api?
In my front end I want to filter a collection list, based off of a column that is a table reference list of integers. I also need the add-on extended data from that table reference. This causes the return to be an array of objects.
The weweb front end currently can filter only based on the returned value. Since the returned value is an array of objects and not an array of integers, it prevents me from filtering in a simple way. I can't seem to figure out how to return the add-on and the original value separately. Is this possible?
Best Answer
-
I actually figured a solution. Evals were exactly what I was looking for. I was able to return the original column table reference in addition to the extended data of that table reference separately.
Answers
-
Hey @Owsteen - I'm a little unclear on the use case here. Are you going from a list view to a single detail view?
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback