-
Notifications
You must be signed in to change notification settings - Fork 221
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
Ability to pull published form back into Form Builder #750
Comments
I changed the label from RFE to Use cases, as this is a valid use case, but we are not quite sure what the "feature" that would support this is (also see my comments at the end of the description). |
With #1055, we have unified the code to publish form definitions and attachments. This is used:
So this feature would now be quite easy to implement. |
One thing to think about: section templates are inlined as |
#1450 contains a similar idea. Closing that one and moving @avernet's comment below: This would enable form authors to edit:
Editing of a published form could be triggered:
The former has the benefit of handling use case 1 above. |
We need to do this soon. The open question is that of section templates. When publishing, a snapshot of the latest versions of the required section templates is embedded into the form definition. In Form Builder, however, the latest version of the section templates will be loaded when the toolbox is refreshed. That latest version might not be the same that was used by the published form definition. For example:
This tells me that:
2024-10-11: The above was done with #3885, released with 2019.1. So the versioning is no longer a concern, although there is the question of checking whether the libraries are published and present when "pulling" the form. |
Starting Orbeon Forms 2019.1, the section template library versions are stored into the form definition metadata (#3885). |
So now this feature should be easy to implement. Where should the UI be located? Right now, the Form Builder Summary page doesn't show published form definitions, so until we have that (#1795, #1138, #2777) the feature should not be accessible from there, probably. Or it would be in the form a "See Published Form Definitions" button which would show this information separately. On the Form Builder Detail page, the feature could be accessible from the "New" form dialog. Any other possibility? |
Things to check:
|
Following #6518, this could be integrated into the templates UI. |
It would be nice to have a feature to "revert" a FB form, ie copy the form from where it's been published into FB data repository.
This could be used in two cases:
This might fall under a "versioning" umbrella. Only supporting the form to be reverted to the last published version is somewhat limited. Instead, we could imagine to have:
The text was updated successfully, but these errors were encountered: