Add option to create nodes on manual action

Created on 18 September 2019, over 5 years ago
Updated 15 May 2024, 7 months ago

At the moment a node is created immedately after a submission occured.
It would be great if content creators could select a bunch of submissions and create nodes from them on demand.
Maybe by adding an action to the submission results view.

Feature request
Status

Needs work

Version

4.0

Component

Miscellaneous

Created by

🇩🇪Germany macdev_drupal Wiesbaden

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷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 8 months ago
  • 🇵🇹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 8 months ago
  • 🇺🇸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.

  • 🇵🇹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 7 months ago
  • Assigned to helianthropy
  • Production build 0.71.5 2024