I am now unable to use the same code in the current version of Umbraco (4.11.1) because the XML has now changed and trying to use the above code will cause errors:
Also just looking at the Current page Model that has an empty Multi-Url Picker datatype, it doesn't appear that it would be considered as null or an empty string as the Value property is always set to:
"<multi-url-picker />"
Even when there are no values entered.
Which might explain why standard recursion can't be used.
Multi-Url Picker recursive changes
Hi,
I have a node with a property which uses a datatype of type Multi-Url Picker.
In a previous version of umbraco I was able to do the following to retrieve the values from the data type recursively:
The XML generated by the Multi-Url Picker was formatted in the following way:
I am now unable to use the same code in the current version of Umbraco (4.11.1) because the XML has now changed and trying to use the above code will cause errors:
The new XML generated by the Multi-Url Picker:
Can anyone suggest an alternative method to retrieve the values from the data type recursively?
Also just looking at the Current page Model that has an empty Multi-Url Picker datatype, it doesn't appear that it would be considered as null or an empty string as the Value property is always set to:
Even when there are no values entered.
Which might explain why standard recursion can't be used.
is working on a reply...