Category / Section
FAQ: What is Data ID?
Published:
Updated:
The Data ID is a unique identifier for a form created in Zegeba. This ID is generated when the form is synced back to the server, ensuring every form has a unique identifier.
Key Points about Data ID:
- Generation: The Data ID is not created by the form itself. It is assigned by the system only after the form is synced to the server.
- Offline Mode: If you are working offline in the app, the form will not receive a Data ID until it is synced back to the server.
- Duplicate Prevention: This process ensures there are no duplicate Data IDs in the system.
- Deleted Forms: If you delete a form or record, its Data ID will not be reused. This guarantees every form or record always has a unique identifier.
Using Data ID in Forms:
- The Data ID can be referenced in a form using the
{§formDataId}
placeholder. - Important Note: The Data ID field in a form will only populate after the form has been synced to the server and assigned a Data ID.
- After syncing, the Data ID will appear when you reopen the form.
This mechanism ensures data consistency and uniqueness across the system.