Allow to import only specific webform (no submission)

Created on 1 August 2024, 5 months ago

Problem/Motivation

It's possible to import only specific webform? No submission, only webform.

Steps to reproduce

I have 128 webform in my Drupal7 site, but I want to import only webform with nid 812 and 813.

Thank you so much for your help.

💬 Support request
Status

Active

Version

2.0

Component

Documentation

Created by

🇮🇹Italy kris77

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

Comments & Activities

  • Issue created by @kris77
  • 🇮🇳India abhiyanshu

    Since you want to export specific webforms,
    Access your database with a tool like phpMyAdmin or a CLI, and run SQL queries to export the webform data.

    SELECT * INTO OUTFILE '/path/to/export/webform_812.sql'
    FROM webform
    WHERE nid = 812;
    SELECT * INTO OUTFILE '/path/to/export/webform_813.sql'
    FROM webform
    WHERE nid = 813;

    This will generate SQL files containing the webform data.

  • 🇮🇹Italy kris77

    Hi @abhiyanshu thanks for you reply and help.

    I think I didn't explain well.

    In my Drupal7 site I have 128 differente webform, each with its own components/elements. I have webform "TEST"(nid 812) with element1, element2, element3 and webform "TEST2"(nid 813) with own element(element3, element4, element5).

    So, I want to migrate this only two webform from Drupal7 to Drupal9 or Drupal10 without submission, only webform with own components/elements.

    Thank you so much.

Production build 0.71.5 2024