Closed (fixed)
Project:
Webform
Version:
6.x-3.12
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2011 at 07:07 UTC
Updated:
22 Nov 2011 at 07:51 UTC
I want to export webform definition first and then import the definition in another drupal webform? how can do that? is there a tool or way for me to migrate webform definition?
Comments
Comment #1
yang.wilby commentedI think you need to backup a webform definition as well
Comment #2
quicksketchI think I've answered this lots of times, but it's as simple as http://drupal.org/project/node_export.
Comment #3
yang.wilby commentedthanks so much, Node_export do much of the work, but it can not do the work for importing the definition of a webform, like the validation rules set for a webform? Is there any hooks I use to export and import the extra data completely?
Comment #4
quicksketchI don't know what you mean by "validation rules". Node export works fine as long as the configuration for the webform is in the $node object. You must be using a module that adds extra validation that is not stored in the $node object, in which case you should move this request to that module's issue queue.
Comment #5
yang.wilby commentedThank you so much for your reply and help! now I can add the extra information into the $node object, will you please give me a clue about how to importing the extra information and store them in the database?