Recursive multi-url picker returning null on subpages
Hi,
I'm trying to get a recursive multi-url picker set to a max of one to show on subpages, but it always returns null on subpages, but works on the homepage. What's odd is I'm using a recursive media picker in the same context, and it works as expected.
var preFooterLink = Model.Value<Link>("preFooterLink", fallback: Fallback.ToAncestors);
That returns null on subpages but below works for a media picker. Any ideas?
var preFooterImage = Model.Value<IPublishedContent>("preFooterImage", fallback: Fallback.ToAncestors);
Recursive multi-url picker returning null on subpages
Hi,
I'm trying to get a recursive multi-url picker set to a max of one to show on subpages, but it always returns null on subpages, but works on the homepage. What's odd is I'm using a recursive media picker in the same context, and it works as expected.
That returns null on subpages but below works for a media picker. Any ideas?
Any ideas on this one?
is working on a reply...