0
Under review
Import JSON file to populate local database
I was wondering if it is possible to be able to import a JSON file (local or remote) and have it populate a local SQLite database within the app?
I ask because I would like to be able to take a CSV, convert it to JSON (which I found some Javascript that can do this) and the populate the database with this new data.
I ask because I would like to be able to take a CSV, convert it to JSON (which I found some Javascript that can do this) and the populate the database with this new data.
Customer support service by UserEcho
You would have to query the json from the app just like any other time, only once you get the querycomplete, then you can insert those data points into a SQL query string in a new datasource.
So it would look something like this:
Now, what if I wanted to take this data that was in the table, construct a new JSON feed based on the data in this table, and push it back to Parse. Almost like a synching function. How would I go about doing that?
In that case you may consider using the datasource properties of add and removeindex. You can read about those here:
https://files.rarewire.com/wordpress/2012/04/datas...
These only work for JSON.
<assign property="datasource:datasource1.add" value='{"url":"_url"}'/>
<assign property="datasource:datasource1.removeIndex" value='3'/>
and this is my action: and what I am trying to do is get the code.
To get the code, your alert should be: <alert message="[datasource:parseLogin.1.code]" />