Xano has changed(?) and documentation has not?
![David Richardson](https://us.v-cdn.net/6037124/user_avatars/2509231.jpg)
I have an API and I want to iterate over an array of objects. Seems easy but my brain... My brain...
I looked at this Xano resource: "For Each Loop" and there is a discrepancy in Michael's instructions (I think) and what I'm seeing on my screen. I want to access "Mission" with dot notation to manipulate the data and create a list in the function stack from the text field.
NOTE TO STAFF: (I get an error pasting in the URL of the instruction resource referenced below).
on My screen I do not see the Save button
I have tried reloading the page. The rest of the function works fine. I'm just attempting to work with one of the key:value pairs in the object "Mission". I can't "save" it and I'm getting the error
Not what I'm expecting. The API "works" as far as overall output but I'm not able to work with the data in the function stack.
Answers
-
Hi @David Richardson the For Each Loop has auto-saved enabled. It looks like your var: users is an object. It looks like you actually want to iterate through the items array, which would be var: users.items
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