How to update an object array?
Options
Marianna Kerppola
Member ✭
Hi ! Starting a new thread here for questions about object arrays. Original thread was here: https://community.xano.com/c/apis/update-a-list-from-a-table-using-api
I was able to follow your instructions on how to update an object array: https://www.loom.com/share/2c37acf093b8476e8ca8497301c4a56d
Next, I'm trying to first add a record, then add this new record into the linked object array. However, I'm not sure how to format the new record object, so that it can be added to the existing array. Here's a loom showing the few approaches I've tried so far:
https://www.loom.com/share/938a18bf99f742f1a9ca12ad6df9f096
Thanks!
I was able to follow your instructions on how to update an object array: https://www.loom.com/share/2c37acf093b8476e8ca8497301c4a56d
Next, I'm trying to first add a record, then add this new record into the linked object array. However, I'm not sure how to format the new record object, so that it can be added to the existing array. Here's a loom showing the few approaches I've tried so far:
https://www.loom.com/share/938a18bf99f742f1a9ca12ad6df9f096
Thanks!
Comments
-
Hey! Here's is how I would accomplish that. Sorry if the data names are a bit backwards from your use case but hopefully it still makes sense...
-
Incredible! Totally works! Thanks ! 🎉
-
Sweet!!
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