- 🇫🇷France mchamps Finistère
Being able to generate node on demande would be great.
I have just discovered your module and I have about 50 past submissions that I'd like to create nodes from...Great module, Thanks !
- Status changed to Closed: works as designed
7 months ago 10:09pm 27 April 2024 - 🇵🇹Portugal joaomarques736
Hello all,
As we have the alternative solution with content moderation, this functionality won't be in scope for this module in the near future.
Best regards.
- 🇺🇸United States helianthropy
If a community provided patch were to be offered, would it be accepted into the project? And if so, is there a preferred approach to take to add this functionality? (Any hints at where to implement would be appreciated as well.)
- 🇵🇹Portugal joaomarques736
Hi Helianthropy,
Yes, if we have a patch it can be accepted into the project. I think it could be a new operation link in webform content creator page (like "Manage fields" and "Edit").
Thanks!
- Status changed to Active
7 months ago 10:38pm 8 May 2024 - 🇺🇸United States helianthropy
Preparing to take this on, here is the ambitious proposal in a series of three steps. Feedback appreciated.
Proposal:
- User Interface
- Add checkbox on Webform Content Creator add/edit configuration form: “Automatically create entities.” (default to checked to enable existing functionality)
- Add "Convert Submission(s)" to Operations menu
- Add Webform submission selection page with checkboxes on each submission (indicating previously converted if field machine ID was provided), multiple select list to choose fields to display for submission identification, and “Convert to ” button.
- Code
- Update for existing webform config data to add new default field value.
- Add check for automatic creation setting before creating new entities on webform submission.
- Add route, controller, and form for submission conversions.
- Utilize Batch API since it’s possible to create long operations with on-demand bulk requests.
Planned steps
Phase 1
Add menu items and links to get started with the starting points for operations. Add forms and form updates to collect needed info for processes.
Phase 2
Add checks for default process to skip automatic entity creation if not indicated. Create connection to process on-demand entity creation.
Phase 3
Add check for previously created entities for conversion form display, revise form display as needed for UX/accessibility. Add batch support. Add update script. Explore integration with Webform submissions operations menu per issue summary.
- User Interface
- 🇵🇹Portugal joaomarques736
Hi Helianthropy,
Thanks for your help, it seems to be a good plan and it would be really appreciated if you can go ahead with it!
Best regards.
- Status changed to Needs work
6 months ago 4:06pm 14 May 2024 - Assigned to helianthropy