Skip to content

Set parent with resave/entries #11180

Answered by brandonkelly
pixelmachine asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah it’s possible.

Craft 3:

php craft resave/entries --element-id 2728 --set newParentId --to "=37374"

Craft 4:

php craft resave/entries --element-id 2728 --set parentId --to "=37374"

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pixelmachine
Comment options

@brandonkelly
Comment options

Answer selected by pixelmachine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants