Copied to clipboard

Flag this post as spam?

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


  • Sonja 128 posts 606 karma points
    6 days ago
    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

Please Sign in or register to post replies

Write your reply to:

Draft