Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a migration where I need to modify some data in a blocklist. My plan is:
I already have a complete list of IContent with the blocklist, but I cannot figure out how to deserialize the blocklist, and then I would have to serialize it at the end too, before saving.
Maybe I am going about this the wrong way?
Any help would be appreciated.
Sounds the right way!
There are some docs here: https://our.umbraco.com/Documentation/Fundamentals/Backoffice/Property-Editors/Built-in-Property-Editors/Block-List-Editor/#creating-blocklist-programmatically
but also this gist from Dan Diplo might be really helpful:
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted