I am using a uComponents urlpicker field as an item on every node in a tree (field name Model.UrlPicker)
I would expect Model._UrlPicker to give me a recursive value ie the parent / grandparent Model.UrlPicker if the current node doesn't have a UrlPicker value set. This works for other datatypes but not for UrlPicker
Is this a bug? Do I have to write a recursive helper function to do this instead?
I think that the url picker stores it's data as xml. Even if it's empty it will save some xml so it's probably never empty. That's why recursive won't work. Guess you need to write your own helper for that.
UrlPicker - Recursive not working as expected
Hi community!
I am using a uComponents urlpicker field as an item on every node in a tree (field name Model.UrlPicker)
I would expect Model._UrlPicker to give me a recursive value ie the parent / grandparent Model.UrlPicker if the current node doesn't have a UrlPicker value set. This works for other datatypes but not for UrlPicker
Is this a bug? Do I have to write a recursive helper function to do this instead?
Thanks
Anyone? Having difficulty getting responses to my posts :(
I think that the url picker stores it's data as xml. Even if it's empty it will save some xml so it's probably never empty. That's why recursive won't work. Guess you need to write your own helper for that.
Jeroen
Thanks for replying!
I'll write a simple recursive method instead. Wanted to see if I was missing the point
Cheers
is working on a reply...