2

There are many posts available for migrating the content to D8. But i am not able to understand. I am stopped at some points.

What I have cleared yet?

Till now there is no UI available node import.
Feed module not supporting node import.

What I wants to know?

Is it mandatory to create a custom module to achieve this?
Drush is required?

3 Answers 3

1

Till now there is no UI for importing data included in core. I also didn't find any module which extends the core with that functionality.

I ended up using the migrate_api which is build in in core and wrote a custom module for my import. Here is a article how you can achieve that https://www.drupal.org/docs/8/upgrade/using-the-migrate-source-csv-plugin

But till now I didn't find any solution how I can import the data without having drush installed.

7
  • Getting this error during configuration import --->The configuration cannot be imported because it failed validation for the following reasons: Configuration block.block.zurb_foundation_account_menu depends on the zurb_foundation theme that will not be installed after import. Configuration block.block.zurb_foundation_branding depends on the zurb_foundation theme that will not be installed after import.
    – DRUPWAY
    Commented Nov 5, 2016 at 11:20
  • I don't know how you did the import, but try the following: to import just the single migration configuration
    – Chris4783
    Commented Nov 7, 2016 at 8:45
  • Sorry mistyped. Just import the single migration configuration. If you get an error on the import, please post your configuration.
    – Chris4783
    Commented Nov 7, 2016 at 8:48
  • is it working if we go for multiple times. Because first time when i import it worked perfectly. But later when i tried showing me this error.
    – DRUPWAY
    Commented Nov 7, 2016 at 8:50
  • same configuration shown in the example.
    – DRUPWAY
    Commented Nov 7, 2016 at 8:51
2

Try this module to import node data from CSV file. Content Import

1

I had good success importing nodes from another mysql database using migrate_plus: https://www.drupal.org/project/migrate_plus

In there is an example module, migrate_example, that you can use to base your custom module on.

The imports are run through drush.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.