In umbraco 7, GetPropertyValue T had a signature overload for recursively walking up the tree. Does the method Value T in umbraco 8 have this functionality? I can't find an overload for it.
Ahh yes thanks for clarifying. I mustve skimmed the documentation and thought fallback was just for multilingual considerations. I see now it covers recursion too
how to recurse in Umbraco 8 Value<T> method?
In umbraco 7, GetPropertyValue T had a signature overload for recursively walking up the tree. Does the method Value T in umbraco 8 have this functionality? I can't find an overload for it.
thanks
It does yes, you need to look at the fallback parameter - see docs here - specifically
fallback: Fallback.ToAncestors
.Andy
Ahh yes thanks for clarifying. I mustve skimmed the documentation and thought fallback was just for multilingual considerations. I see now it covers recursion too
thanks
is working on a reply...