Copied to clipboard

Flag this post as spam?

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

  • Raluca Dumitru 33 posts 173 karma points
    May 23, 2019 @ 08:42
    Raluca Dumitru

    Can MultiNodeTreePicker be used for a bidirectional relation?


    I have some topics that are part of some categories. One topic can belong to more than one category. At the moment I have a property called relatedTopics in my Category that will pick the topics which belong to that Category.

    I was wondering if I have a relatedCategories property in my Topic, and delete relatedTopics from Category, will it still be possible to get the topics that belong to that category, just by querying the topic somehow?

    All this properties use MultiNodeTreePicker as a data type.

    Not having an option to choose the category when creating the topic can lead to errors, if somebody forgets to go to the category and add the new related topic.

    If there is any other way to do this any suggestion will be appreciated.

    This is for Umbraco 8

    Thank you.

  • Matthew Wise 265 posts 1282 karma points MVP 3x c-trib
    May 24, 2019 @ 07:02
    Matthew Wise

    Hi Raluca

    I don't know how much this has changed in V8 but in v7 you can uses the relation service

    Am sure it is still in V8 but am yet to checkout how to use it

    Hope this at least points you in the right direction


Please Sign in or register to post replies

Write your reply to: