Copied to clipboard

Flag this post as spam?

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


  • Saif Obeidat 79 posts 296 karma points
    May 16, 2019 @ 10:25
    Saif Obeidat
    0

    Two-Way of Synchronization between multinode treepicker and other property

    Hi,

    I want to know if there is an option or a plugin which helps me to do the following:

    I have a multinode treepicker for urgent news where you can add any urgent news in it . but what I need is to give another way to set a news as urgent, it's like when you open a news node you will find a checkbox property so you can check it if it's an urgent.

    OK the needed here is whenever you check a node as urgent, it will be automatically added to that multinode treepicker and vice versa , when you add a node to the multinode treepicker, that checkbox property should be checked.

    Anyone have an idea to do that?

    one of the current solution is to use Umbraco Events. but please tell me if there is another way.

    Thanks

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    May 16, 2019 @ 12:06
    Markus Johansson
    0

    Hi Saif!

    You might be able to consider a "relation" between them using the Umbraco Relations API and maybe this picker:

    https://our.umbraco.com/packages/backoffice-extensions/relations-picker/

    I've used "nuPickers" for this on one site as well:

    https://our.umbraco.com/packages/backoffice-extensions/nupickers/

    Docs: https://github.com/uComponents/nuPickers/wiki/Relation-Mapping

    Just remember that the Relation API would hit the database so you might need to create some cacheing around this, I just use the runtime cache in Umbraco and invalidate it using the ContentService.OnPublished-event.

    https://our.umbraco.com/documentation/reference/cache/updating-cache

    Hope this helps!

    Cheers!

  • Ahmed Heasat 10 posts 90 karma points
    May 20, 2019 @ 12:12
    Ahmed Heasat
    0

    Hi Markus!

    Referring to the links you mentioned above. these packages are not supported in Umbraco8. Do you have for Umbraco8?

    or, is there any article that shows how to that issue using the Relation API directly?

    Thanks

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    May 20, 2019 @ 14:08
    Markus Johansson
    0

    Hi Ahmed!

    I did not realize that you needed this for Umbraco V8. Not sure about the state (if any) for nuPickers for Umbraco 8.

    // m

Please Sign in or register to post replies

Write your reply to:

Draft