ValueConverter doesn't seem to work for ContentPicker in Umbraco 8.15 ?
In Umbraco backoffice it shows selected node.. But in code it doesn't seem to convert Udi to IPublishedContent and simply returns null..
btw, also tried: .Value<>
Can anyone help me with this? Don't want to use any workarounds where I would first need to get Udi and then get IPublishedContent with this. Would really want Value
ValueConverter doesn't seem to work for ContentPicker in Umbraco 8.15 ?
In Umbraco backoffice it shows selected node.. But in code it doesn't seem to convert Udi to IPublishedContent and simply returns null..
btw, also tried: .Value<>
Can anyone help me with this? Don't want to use any workarounds where I would first need to get Udi and then get IPublishedContent with this. Would really want Value
Thanks!
Hi Remko
The bit you've also tried isn't displaying in your message above... so I'm probably going to suggest the same thing!
eg. is it a multiple content picker and therefore the property value converter is returning a list of picked items and you'd need instead:
or you can make the picker a single picker, as that makes more sense here?
But apologies if I've just suggested the thing you have already tried!
regards
Marc
is working on a reply...