[SOLVED] How to get _id of a recently inserted record so you can use it as your Primary Field.

@chocookie22 There’re several way to achieve that… But in your original code you forgot to save the client id after you set it.
See:
https://www.wix.com/velo/reference/wix-dataset/dataset/save