Thank you, this is what I was looking for. I’ve seen that if I do the first insert without specifying an id, a new entry will be generated automatically.
I’m relatively new to java – is newEntry a dictionary? How can I get the value of _id from newEntry after calling insert()?
I’m thinking I will use the afterInsert() hook to read and store the id using session.setItem(). Then the other pages can do session.getItem() and wixData.get().
Is there an easier way of going about this?