Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
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?
Controller
Could you share the complete code?
Thanks!
/Michaël
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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?
This is the code am using.
Please share what can be done.
Thanks.
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
is working on a reply...