Document ID format

Hi,

we are using an ORM library in our web application which is storing the document IDs in a specific format like “objecttype::123456abcdef”.

Now we want our mobile apps (Android and iOS) to generate/store the document IDs in the same way. Is that possible? Currently the mobile sdk is generating the IDs only in that way “123456abcdef”. Can we define the format the Android/iOS SDKs are generating the IDs? Or can I pregenerate them on my own? But how do I ensure uniqueness?

Thanks, Pio

You can specify a document ID in the mutable document constructor. If it already exists you won’t be able to save it.

Oh wow so easy :see_no_evil: Havent seen that… Thanks.