1

Let's say I have a content type, Article, with several fields. I already have hundreds of Article nodes created, but now I want to add a new field. After I set a default value for this field, how can I make it so that all existing Articles have this new field populated with this value? In other words, I don't want all my existing Articles to have a blank value for this new field.

This seems like it should be a simple task, but I can't find anything when searching for this issue online.

0

1 Answer 1

1

I just found this module: https://www.drupal.org/project/field_defaults

It seems like it might work. But I'll withhold accepting this as the answer unless there are better ideas out there.

1
  • 1
    That module sounds perfect. In the past I've seen similar things done using VBO, and Rules, or export/import with Feeds.
    – prkos
    Apr 26, 2019 at 14:06

Your Answer

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

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