Importing Objects using CSV
Options
![Chetan -2435942](https://us.v-cdn.net/6037124/user_avatars/2435942.jpg)
Chetan -2435942
Member ✭
Hi,
I have an existing table as follows
id = 1,
Name = Apple,
Forecasts = [{Quarter: 1, EBITDA: 312, EPS: 250},{Quarter: 2, ...}]
I am able to update the table's name field using csv but struggling to update the object array 'Forecasts'.
Any tips to import this? Also tried Forecasts.0 as column name.
I have an existing table as follows
id = 1,
Name = Apple,
Forecasts = [{Quarter: 1, EBITDA: 312, EPS: 250},{Quarter: 2, ...}]
I am able to update the table's name field using csv but struggling to update the object array 'Forecasts'.
Any tips to import this? Also tried Forecasts.0 as column name.
Comments
-
Hey Chetan -
Importing an object from a CSV would not work for a strongly typed object. Objects built in the Xano database specify a name and type on each element, which can't be done on the CSV since an object only exists in a cell of the spreadsheet.
However, you should be able to choose a JSON data type instead for importing objects. Importing it as JSON should allow you to add objects this way.
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