Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I recently discovered Field Collection and it appears to be just what I need. I create the collection, add the fields, and everything is set to go. However, I must be missing something. I have fields I have already created that have content within them - how do I combine those into a field collection? Reusing the fields under Structure>Field Collection gives me a new set of fields to populate. I would instead like to take the fields I already created and populated and transform them into a collection. Any support would be most appreciated. Thank you!
Comments
Comment #1
tim.plunkettI don't believe you can do this, not without migrating the data yourself (either programmatically or manually).
Leaving open to other suggestions.
Comment #2
blasto333 CreditAttribution: blasto333 commentedI am looking into how to do this also, if I figure it out I will post.
Comment #3
marcoka CreditAttribution: marcoka commentedanybody found out if that is possible?
Comment #4
ericinwisconsin CreditAttribution: ericinwisconsin commentedI have the same issue. Unfortunately it looks like it can't be done. If I had known about the field collection module when I started building the website, this wouldn't have been an issue. As it stands, I have thousands of pages with pre-existing fields that I'd like to make part of a field collection. That pretty much renders this wonderful module useless for me.
Comment #5
tim.plunkettMaybe fago knows if this is feasible.
Comment #6
heacu CreditAttribution: heacu commentedany news on this one? field collections would seem pretty useless for most users unless you can move existing fields into collections. also, on the flip side, when you delete a field collection, you don't necessarily want all of the fields to be deleted as well.
in a nutshell, field collections should behave more like field groups.
Comment #7
cbrasfield CreditAttribution: cbrasfield commentedIt appears the module Field Group satisfies this request: http://drupal.org/project/field_group
Comment #8
interdruper CreditAttribution: interdruper commentedNo way to do it without using Migrate module or programmatically.
Here is a very useful article that show the code to program a Drush command to achieve it (smart solution!)
http://www.mediacurrent.com/blog/how-work-field-collections-legacy-drupa...
Comment #9
fagoI'm not aware of anything doing this, but if so I'd be interested to know also.
Comment #10
dinesh217 CreditAttribution: dinesh217 commentedHi,
Has anyone found any solution on "Getting existing fields to become part of a field collection". am exactly facing the same problem and also let me know if there are any other alternate solution.
Thanks,
Dinesh.
Comment #11
AshM CreditAttribution: AshM commentedHas anyone found any solution to this issue?