Copied to clipboard

Flag this post as spam?

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


  • Sonja 133 posts 621 karma points
    Dec 03, 2019 @ 11:07
    Sonja
    0

    Get list of content picker pages

    Hi

    I have a document type named Deal and it has Content picker named package that contains content having document type Package. Now I have document type Deals that contains list of Deals

    in razor I have

    var dealIdPage = 1200;
    var dealSelection = Umbraco.TypedContent(dealIdPage).Children("deal").Where(x => x.IsVisible());
    

    where I;m loading the list of all deals. I need to get all the packages that are in dealSelection deals.

    Please advice

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies