Copied to clipboard

Flag this post as spam?

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

  • Sonja 132 posts 620 karma points
    Dec 03, 2019 @ 11:07

    Get list of content picker pages


    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

Please Sign in or register to post replies

Write your reply to: