I have a scenario where AppSheet generates a “0” (zero) as the uniqueid(). The issue causes an old record to be included in csv files they’re not expected to be in among many other things.
The field is not visible to the user so they cannot override the field.
What might cause the system to generate a zero for the UNIQUEID?
What would cause the record to show up on a random file?
A few weeks ago I had an app with just one record that was behaving differently than the others. It kept losing references to child records. When I viewed the Google Sheet, the UNIQUEID() value had been auto-formatted in scientific notation, because it just happened to meet the format of [number] E [number], like 421e24. [Screen Shot 2019-12-12 at 11.50.47 AM] I manually changed that one ID, and updated references in child tables. I figured the chances another key meeting that format were low …
Always format spreadsheet columns that contain values generated with UNIQUEID() as plain text. In fact, best to format all data cells in the spreadsheet as plain text.