How are you guys auto generating ID’s during the signup or thing creation stage?
The Bubble ID is too long and I don’t want to use Blockspring - trying to minimise API dependency.
Ideally I just want a 6 digit number.
How are you guys auto generating ID’s during the signup or thing creation stage?
The Bubble ID is too long and I don’t want to use Blockspring - trying to minimise API dependency.
Ideally I just want a 6 digit number.
Solved. Thanks Dave
Hi Greg,
How did you achieve this requirement? I want to generate unique IDs but not randomly. I want them to be incremental. For example a booking ID can have first few letters fixed, for example the first 3 letters can always be BKG and then an incremental number should get appended to BKG, like BKG01 for 1st booking and BKG02 for second booking and so on. Also i want to append the company or agency ID in the end to identify easily to which user the booking belongs to.
So the ID will look like BKG01Agency01, BKG02Agency01, BKG01Agency02, etc
Hello, not OP but maybe I can help you get futher…
If you want to use incremental numbers, the easiest way is to do a “search for items” sorted by creation-date. Get the most recent item’s ‘number’ and add 1 it before saving to your new entry.