Copied to clipboard

Flag this post as spam?

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


  • Abhishek 15 posts 85 karma points
    Oct 24, 2018 @ 07:20
    Abhishek
    0

    Document is pulling published and unpublished content

    Hi,

    I am trying to pull the published child nodes for a node. for that I am using Document, it is pulling all published and unpublished nodes. is there any check to filter published and unpublished nodes or is there any other way?

    public void PrepDoc(Document doc, bool include) 
    

    This is the code am using.

    Please share what can be done.

    Thanks.

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Oct 24, 2018 @ 07:26
    Michaël Vanbrabandt
    0

    Hi Abhishek,

    can you give some more details on what you are trying to do here?

    Also is this in a Controller or where are you using this code?

    Could you share the complete code?

    Thanks!

    /Michaël

Please Sign in or register to post replies

Write your reply to:

Draft