Retrieving properties from each Multinode Treepicker item through the backoffice (Angular)
I am using Umbraco 11 and building custom views for the Backoffice for blocks in a block grid, using the documentation provided.
In some of my blocks, I use a multinode treepicker. In the front end, I was just able to loop over the selected items and display the data. But in the Backoffice, if I try to display the contents of the multinode treepicker property, it just returns a comma-separated list of UDIs as a string, with no obvious ways to access the properties of each node.
If I split the string and use contentResource.getById on each UDI in an Angular controller, it doesn't return the properties of each node.
Is there a way to access the property data that I'm missing? How would I go about pulling the data for each node in to the Backoffice custom view?
Got a sneaky feeling even if your content doesn't vary by content, that the property values for each property will be stored under a single variant within variants..
Retrieving properties from each Multinode Treepicker item through the backoffice (Angular)
I am using Umbraco 11 and building custom views for the Backoffice for blocks in a block grid, using the documentation provided.
In some of my blocks, I use a multinode treepicker. In the front end, I was just able to loop over the selected items and display the data. But in the Backoffice, if I try to display the contents of the multinode treepicker property, it just returns a comma-separated list of UDIs as a string, with no obvious ways to access the properties of each node.
If I split the string and use contentResource.getById on each UDI in an Angular controller, it doesn't return the properties of each node.
Is there a way to access the property data that I'm missing? How would I go about pulling the data for each node in to the Backoffice custom view?
Thank you for any help.
Hi Richard
Is it in the Variants?..
Got a sneaky feeling even if your content doesn't vary by content, that the property values for each property will be stored under a single variant within variants..
Regards
Marc
is working on a reply...