-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse Import Function Disappeared #336
Comments
I also have this issue - as do others judging on stack overflow boards. |
Same issue here. Weird that they'd discontinue this feature without any warning. If anybody has a workaround, I'd be interested. I am trying to import thousands of objects from a JSON file. |
Same here. I really need this function to replace data with exact same objectId. |
I was going to write a custom node script that uses Parse's REST API to replicate the import feature, but then I realized it doesn't seem possible given that you cannot manually set the objectId when creating new objects... This is problematic in my case so I hope the feature is coming back soon. Edit: My issue with objectIds changing is that it would mess up pointer relations of another class pointing my imported class if I were to delete data then import it back from a JSON backup. The workaround I found was to update those pointers with the new objectIds generated during import. See my other post below for gist. |
https://developers.facebook.com/bugs/1299703926710381/ I asked this question on FB Developer support. They say they won't fix...... |
I made a node.js script that allowed me to replicate Parse's import feature. It worked for my specific use case, but you probably will want to adapt it depending on your needs. What this allowed me to accomplish was:
https://gist.github.com/pascalgiguere/6978c87a2e9a63ddf7577ddaf1b32f3c Fill out the constants on top before running. |
Looks like this has been answered by Facebook. You should migrate your database, then import directly to mongo. |
All, take a look at mongochef (http://3t.io/mongochef/), i've been using it since the removed the bulk import function from the dashboard. Mongochef has allowed me to easily add/remove/modify classes. I know some other have mentioned some ways to import as well, but i'm not very skilled in scripts, shells, or yadda yadda. Anyway, just wanted to post in case it helped someone. |
Im a but confused as to why we are told "import directly using MongDB" when you can't do that and parse be able to use/see the files......? |
I have long given up on parse.com hosting. |
We are hosting it all ourselves and are in a situation where we need to import the data. But alas this vital piece was left out. |
hmm cant help there then sorry, was not prepared to entertain the idea of hosting ourselves. |
It sure what you mean by import the data, you can use mongo to import existing tables, or the SDK's to write the data in à Parse specific format. |
The Parse import function is no longer present on the dashboard.
The text was updated successfully, but these errors were encountered: