Wonderd if somebody could help me, I'm trying to render a Single Url Picker datatype with an alias of infoLink, within a block list element with an alias of infoBannerLink within my Umbraco 11 project, the code is below but I'm receiving the below error is image, I'm a little confused of where I am going wrong, any help would be much appreciated as always :-)
Rendering Single Url Picker contents error
Hi,
Wonderd if somebody could help me, I'm trying to render a Single Url Picker datatype with an alias of infoLink, within a block list element with an alias of infoBannerLink within my Umbraco 11 project, the code is below but I'm receiving the below error is image, I'm a little confused of where I am going wrong, any help would be much appreciated as always :-)
I think you just have to add Content, so change to:
But maybe
works too?
Hi Nick,
No need for the Model.Value<> as you've already cast the Model's content to the content var so as Tor said:
should be fine.
is working on a reply...