-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use database table tracking ODK Central XFormId (XForm name) #1418
Comments
@nrjadkry, @spwoodcock Can you drop some comments regarding which could be better way to move foreward? |
|
Shifting this issue to the top with @spwoodcock comment on #1418. @Sujanadh can you look this issue on parallel with #1418? |
i agree with that. since we have single xform id for a project, is it different from odk_form_id? Can it be multiple? |
Yes, it also needs to be done side by side with #1326. |
@spwoodcock We have an app user(displayName) and XFormid the same; will it be the same for all the time or can it be different? I think it will create confusion. If it will be the same, then we should use the same naming convention everywhere. |
I think keeping it the same as xformid keeps things simple. So we don't also need to track the appuser name somewhere. There will always be one appuser per form. |
For now we will have a single xformid (odk_form_id). Having it possible for multiple xformids per project opens up the possibility for multiple forms. But it's not something we would support for a long while, if at all. It would need so many changes! Probably best to suggest users just make a new project per form. |
If we change the appuser name, it would have to be hardcoded to something specific. It could be something like |
That makes sense. Since the entity registration form name remains the same for all projects, do we have to save the entity registration form name? And to make central project name unique, how do you think we should make it unique? by adding random characters/str or int number, or we can use timestamp? and uuid will be long for the project name. |
Should we make the xformid simply a uuid.uuid4? The xform name can contain the project name etc (what is displayed to the user) |
And yes, the entity registration form is always the same xformid! No need to save it. This will be removed in future anyway when creating entities is possible via the API. |
|
It's fixed in #1449! 😁 |
both appuser and xformid to be uuid? |
Perhaps appuser could reference FMTM so it's clear to the user: 'FMTM token {category}' ? xFormId should be uuid though 👍 |
Is your feature request related to a problem? Please describe.
Follow on from #1319
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: