Skip to content
Discussion options

You must be logged in to vote

We just released Craft 3.7.29 which provides a solution for this: It’s now possible to bulk-set individual element attributes/custom field values via resave/* commands (see #10356). So for example, after creating a new Plain Text field, you could set a default value on all the entries in a foo section like so:

php craft resave/entries --section foo --set myPlainTextField --to "default value" --if-empty

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@KarlBishop
Comment options

@KarlBishop
Comment options

@KarlBishop
Comment options

@i-just
Comment options

@KarlBishop
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
enhancement improvements to existing features content administration 🤓 features related to content administration
6 participants
Converted from issue

This discussion was converted from issue #2031 on June 22, 2021 06:19.