Copied to clipboard

Flag this post as spam?

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


  • Dan Evans 631 posts 1018 karma points
    Jul 26, 2017 @ 12:48
    Dan Evans
    0

    Access LeBlender programatically

    Is it possible to access and loop through LeBlender items when not on a template page? i.e. I am writing code to perform a custom action on ContentService.Saving. I have the iContent item for the page but can't seem to get it to work with LeBlender.

  • Efe 12 posts 43 karma points
    Jun 18, 2018 @ 07:44
    Efe
    0

    Morning Dan, Did you make any progress with using Leblender programtically. I'm also looking to use Leblender items outside of a template page.

    cheers

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jun 18, 2018 @ 09:27
    Dave Woestenborghs
    0

    Hi Dan and Efe,

    In my Nexu package I parse the json of a leblender grid editor.

    https://github.com/dawoe/umbraco-nexu/blob/develop/Source/Our.Umbraco.Nexu.Parsers/GridEditorParsers/Community/LeBlenderGriddEditorParser.cs#L72

    Maybe that can be a good starting point for you guys ?

    dave

  • Efe 12 posts 43 karma points
    Jun 19, 2018 @ 10:35
    Efe
    0

    Dave, Thanks for replying. The code example has definitely been helpful.

    Efe

  • 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