Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Allan Kirk 9 posts 99 karma points c-trib
    Nov 22, 2021 @ 04:55
    Allan Kirk
    0

    Update block in migration

    I have a migration where I need to modify some data in a blocklist. My plan is:

    1. Get a list of all IContent with the blocklist on it.
    2. Find the relevant widget in the blocklist.
    3. Modify the widget.
    4. Save the IContent.

    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.

  • Marc Goodson 2157 posts 14435 karma points MVP 9x c-trib
    Nov 22, 2021 @ 07:17
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies