Create document with MANUAL DocId

0 votes
Is that possible? I accidently deleted my online data and I want to upload all my local data again, but I want to keek the locally saved document ids...

'updateDocumentByDocId'  is not working with a not existing one... And 'insertJSONDocument' does not allow to set the document id manually...
asked Feb 8, 2015 in App42 Cloud API-BaaS by mflisar85 (40 points)

1 Answer

0 votes
Best answer


Doc Id is unique identifier for object saved on cloud. If you doc/object has been deleted, you cannot create another doc with same Id. All your data will remain same however doc id will be generated automatically and would be unique to stored object if you create it again.

Let us know if it helps.

Himanshu Sharma


answered Feb 9, 2015 by hs00105 (2,005 points)
selected Feb 9, 2015 by mflisar85
This means if I store relational data and use the document id as foreign key I'm not able to create a backup and restore it somehow?
In that case you have to write the restore script accordingly to handle this scenario.
I already thought so. Thanks
Let us know if you have more questions for us.

Himanshu Sharma
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on