Media Picker 2 - Umbraco 7.7 - 'System.Array' does not contain a definition for 'Url'
Hi All,
I'm having an issue showing an icon on the multi level navigation.
I have a property on the document type - "navigationIcon" - which uses the Media Picker 2.
I had it working previously on Media Picker 1 with the following code.
I understand that Media Picker 2 using the UDI, but Im struggling to get it to work recursively.
The error message I get is - 'System.Array' does not contain a definition for 'Url'
Media Picker 2 - Umbraco 7.7 - 'System.Array' does not contain a definition for 'Url'
Hi All,
I'm having an issue showing an icon on the multi level navigation.
I have a property on the document type - "navigationIcon" - which uses the Media Picker 2. I had it working previously on Media Picker 1 with the following code. I understand that Media Picker 2 using the UDI, but Im struggling to get it to work recursively.
The error message I get is - 'System.Array' does not contain a definition for 'Url'
Any help would be appreciated.
Thanks
Martin
Hi Martin
It looks like on your media picker enabled multiple medias, please check, just turn off multiple choice.
If you need the possibility to select multiple media, try to use this code:
Read more - https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Media-Picker2
Thanks,
Alex
is working on a reply...