10
votes
Exporting fields for content type
UPDATE
You might also try Drupal Console's drupal config:export:content:type command.
It's description says:
The config:export:content:type command Export a specific content type
and their ...
10
votes
Accepted
Import CSV to nodes/entities in Drupal 8 including a UI
I do this all the time, making use of migration configuration entities (provided by the migrate_plus module). Define a migration plugin in your migration module's config/install directory, using the ...
9
votes
Accepted
How does importing a content type work?
To add a field to custom content type you need
field.field.node.content-type.field-name.yml
field.storage.node.field-name.yml
The easiest way for you is create the content type and fields via UI ...
8
votes
How to export users with passwords?
User passwords are stored using a one-way hashing algorithm and cannot be converted to plaintext. In addition, each Drupal site uses a unique cryptographic salt, so that the same plaintext password ...
8
votes
Accepted
How to migrate multilingual image alt fields from CSV?
I think I've figured this out. You need to define the 'content_translation_source' property on the translated node, so that Drupal knows what language it's coming from.
Eg:
migrate_plus.migration....
7
votes
Mapping or migrating path alias using using Migrate Source CSV
@Jigar's answer is close but not quite. Here is what I eventually figured out. It should be path/alias and not just path. Also, if you have pathauto module installed it will create the path based on ...
6
votes
Automatically import data from Google spreadsheet using feeds module
Sorry, bit late to the party. How I solved this was:
Publish the file to the web using the option in Google Sheets' file menu. This gets you a special link to an always up-to-date version with the ...
6
votes
Mapping or migrating path alias using using Migrate Source CSV
Just tried it out while trying to find an answer to a similar question. Here's how it should look:
source:
...
constants:
slash: '/'
process:
...
// This parameter should be "path" and ...
6
votes
Accepted
Export Paragraph bundles
Turns out it can be done with the config:export:entity command.
drupal config:export:entity paragraphs_type [PARAGRAPH_TYPE] --module="[YOUR_MODULE]" --optional-config --remove-uuid --remove-...
5
votes
How do I export the list of URL alias into an excel or csv?
This is easy with a query:
select source, alias from url_alias INTO OUTFILE '/tmp/url_aliases.csv' FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n';
If you are good with mysql, you ...
5
votes
How do I export and import content types (including fields) between environments?
You're on the right track with the configuration export but I am guessing you did the single export option for the content type. Each field on your content type has several configuration items that ...
5
votes
Accepted
How do I export and import content types (including fields) between environments?
Configuration management
Deploying content types, fields, views, site settings (everything that is not content) from one environment (local) to another (stage, prod etc.) in Drupal 8+ works by ...
4
votes
How to export 'Content-Type' data into JSON?
You could use the Forena module (disclosure: I'm a co-maintainer of it) as your 1-stop-solution (using only 1 contributed module) to:
Build your custom query to fetch the data, whereas these data can ...
4
votes
Accepted
What happened to the links to import or export a View?
That Views import/export facility is no longer available in Drupal version 8 (within "admin/structure/views") ...
A possible way to do similar Views imports/exports in Drupal version 8 is to use the ...
4
votes
Accepted
How to migrate multilingual content from CSV to Drupal 8?
Migrate from CSV basics
As stated elsewhere, the migration code has only recently (as of 8.2.x or 8.3.x) seemed to settle down and there are loads of old, outdated and incorrect instructions in blog ...
4
votes
Accepted
How to import multiple images with Feeds importer from CSV?
You can accomplish this with choosing a character to separate your image urls with in the CSV file and using the Feeds Tamper plugin "Explode".
Separate the image URLs in your CSV file with a certain ...
4
votes
Accepted
How to migrate multiple columns to single field in CSV Migrate
It took a while for me to solve the issue. However, I was able to manage the same without having to write additional plugin or module. I solved the issues in two steps:
First used the plugin concat ...
4
votes
Possible to extract multiple key/value pairs (links) from string in CSV and migrate into multiple link field
Here is my solution to solve a similar problem:
temp_data:
-
source: data
plugin: explode
delimiter: ','
-
plugin: explode
delimiter: '|'
destination_field:
plugin: ...
4
votes
Export/import users
Export/Importing user tables might work if you're doing some sort of crude one-and-done migration. The caveat is you're going to have to think through everything in the source userbase you want to ...
4
votes
Accepted
Exclude settings from a contrib module on export
You don't need to exclude the API keys from export; instead, you can set them in code, and then it doesn't matter what gets exported. (...probably. Some modules will not work with this approach.)
You ...
3
votes
Block error on CMI
For anyone looking for a quick and dirty way to export all custom block data from site A and import it into site B (IMPORTANT: This will overwrite any custom block content on site B):
On site A:
...
3
votes
Accepted
Data export import module node id different after imported
You can use UUID module, some quote from module page :
This module provides an API for adding universally unique identifiers
(UUID) to Drupal objects, most notably entities. Features in ...
3
votes
Content export and import / content deployment
The Default Content module uses cores REST/HAL/Serialisation API's to export content to JSON. You put the content into you_module/content/[entity_type]/anything.json and the content is automatically ...
3
votes
How to export users to a CSV file?
Yes, the Views Data Export is the right module, but if you've big data files, you've to increase proper PHP limits, such as: PHP max_execution_time and memory_limit, unless you're using batch process, ...
3
votes
How do I export an entity?
You want the Default Content for D8 module, which provides drush commands to export and installs the content on module install. From its project page:
Default content gives your module and install ...
3
votes
Accepted
How can I download a results set with a form built in Entity forms?
You can use Views Data Export: For downloading submissions, Entityform support that by default.
3
votes
How to export users with passwords?
As @MPD says, you can't do this, however you can export all the users and import with a random password and use this ways to set the password:
Use the Mass Password Reset module to reset all user ...
3
votes
Exporting the entire website, except users and content?
I would suggest to put your code in a version control like Git. There are many free services you can use like Github and Bitbucket. With Git you can easily ship your code from one server to another.
...
3
votes
Accepted
Importing a bunch of users from csv spreadsheet file into Drupal 8
Check out the Migrate Source CSV
I know that it uses drush and can import nodes through mapping it in a twig file and I'm pretty sure that it supports users too.
Full steps located here.
3
votes
How to migrate multilingual content from CSV to Drupal 8?
you need both migration-tasks, the yml files in the migration folder:
migrate.migration.external_translated_test_node.yml
migrate.migration.external_translated_test_node_translation.yml
Then in the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
importing-exporting × 7157 × 216
feeds × 170
views × 104
nodes × 88
8 × 86
migrations × 73
entities × 56
database × 40
users × 37
6 × 29
taxonomy-terms × 27
configuration × 26
features × 25
commerce × 21
webforms × 21
drush × 17
files × 16
media × 14
theming × 13
blocks × 10
i18n-l10n × 10
datetime × 10
9 × 10
rules × 8