Copied to clipboard

Flag this post as spam?

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


  • Adam Nilsson 30 posts 130 karma points
    Apr 28, 2024 @ 20:05
    Adam Nilsson
    0

    Set Value on a "nested" blocklist from a UmbracoApiController

    What is the best way to add new "values" to a block list of underlying values for an attendee to an event.

    var nestedContents = currentEventPage.Value<>

    I have this but I am not getting the right Json data for the content service to run the SetValue for it.

    Here is my Content Models for it: enter image description here

  • Yakov Lebski 590 posts 2344 karma points
    May 04, 2024 @ 15:46
    Yakov Lebski
    101

    You can use this example go to Creating Blocklist programmatically ghttps://github.com/umbraco/UmbracoDocs/blob/e64ec0e5b28b4e5a37b7865691621e45dd82701f/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Block-List-Editor/index.md

  • Mus'ab 158 posts 387 karma points notactivated
    May 08, 2024 @ 21:03
    Mus'ab
    0

    You Are A hero

  • Yakov Lebski 590 posts 2344 karma points
    May 08, 2024 @ 22:11
    Yakov Lebski
    0

    .

  • Adam Nilsson 30 posts 130 karma points
    May 17, 2024 @ 07:54
    Adam Nilsson
    0

    Thanks, that was the code that worked!

Please Sign in or register to post replies

Write your reply to:

Draft