Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Amir Khan 1282 posts 2739 karma points
    Aug 31, 2023 @ 18:20
    Amir Khan

    Recursive multi-url picker returning null on subpages


    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);
  • Amir Khan 1282 posts 2739 karma points
    Sep 05, 2023 @ 14:03
    Amir Khan

    Any ideas on this one?

Please Sign in or register to post replies

Write your reply to: