Multinode Tree Picker: all props load except images
Hello! I'm trying to fetch data with the content management API, and this has been working well until now. I've got a Multinode Tree Picker and all data is properly loaded, except for the image url.
I've got a bunch of news articles, of which each has a headerImage. On the detail page of each news article the headerImage is being properly loaded, it's only in a News block (in which the news articles are picked with a multinode tree picker), that the images will return null.
Hello Darek, thank you for your reply! At first I couldn't find where I was supposed to add this depth param, but eventually I did find the correct location. For further reference for people who are also struggling with this:
Multinode Tree Picker: all props load except images
Hello! I'm trying to fetch data with the content management API, and this has been working well until now. I've got a Multinode Tree Picker and all data is properly loaded, except for the image url.
I've got a bunch of news articles, of which each has a headerImage. On the detail page of each news article the headerImage is being properly loaded, it's only in a News block (in which the news articles are picked with a multinode tree picker), that the images will return null.
Any idea how to solve this? Thank you in advance!
Heya.
You might be missing this param - https://our.umbraco.com/documentation/Umbraco-Heartcore/API-Documentation/Content-Delivery/content/#depth :)
/Darek
Hello Darek, thank you for your reply! At first I couldn't find where I was supposed to add this depth param, but eventually I did find the correct location. For further reference for people who are also struggling with this:
Nice one. Good job!
is working on a reply...