Can MultiNodeTreePicker be used for a bidirectional relation?
Hi,
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.
Can MultiNodeTreePicker be used for a bidirectional relation?
Hi,
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.
Hi Raluca
I don't know how much this has changed in V8 but in v7 you can uses the relation service
https://our.umbraco.com/documentation/Reference/Management/Services/RelationService/
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
Matt
is working on a reply...