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 29 posts 129 karma points
    24 days ago
    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 568 posts 2174 karma points
    18 days ago
    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 386 karma points notactivated
    1 week ago
    Mus'ab
    0

    You Are A hero

  • Yakov Lebski 568 posts 2174 karma points
    1 week ago
    Yakov Lebski
    0

    .

  • Adam Nilsson 29 posts 129 karma points
    5 days ago
    Adam Nilsson
    0

    Thanks, that was the code that worked!

Please Sign in or register to post replies

Write your reply to:

Draft