Accessing Subpath
Options
Abrar
Member ✭
I'm running a for loop against a list of queried items.
Within the for loop for each item, I want to lookup the specific item's 'unique_id' . I'm having trouble accessing the subpath to input as the search query.
I've tried item.unique_id and item.response.unique_id - all return not found in the debug mode.
I can see how this is done for external json (i.e. copy the json then paste into the subpath and select the subpath). How do I access of subpaths of items created by Xano?
[Screenshot 2022-01-31 at 19.46.10.png][Screenshot 2022-01-31 at 19.46.18.png]
Within the for loop for each item, I want to lookup the specific item's 'unique_id' . I'm having trouble accessing the subpath to input as the search query.
I've tried item.unique_id and item.response.unique_id - all return not found in the debug mode.
I can see how this is done for external json (i.e. copy the json then paste into the subpath and select the subpath). How do I access of subpaths of items created by Xano?
[Screenshot 2022-01-31 at 19.46.10.png][Screenshot 2022-01-31 at 19.46.18.png]
Comments
-
from the screenshot, it looks like you haven't specified what you're looping through. Here's an example: [image.png]after that, item.unique_id should work.
is "unique_id" a separate field from xano's internal id? -
is correct. It looks like you aren't looping through anything
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