I'm trying to get unpublished node without knowing its id. Because it's unpublished the umbraco.library.GetXmlNodeByXPath("./descendant-or-self::node [@nodeName = '" + myValue + "']") function does not help me.
I know only parent node id so I can of cause retrieve parent document and its children and can find the wanted document by any property:
Get unpublished node by name
Hi all
I'm trying to get unpublished node without knowing its id. Because it's unpublished the umbraco.library.GetXmlNodeByXPath("./descendant-or-self::node [@nodeName = '" + myValue + "']") function does not help me.
I know only parent node id so I can of cause retrieve parent document and its children and can find the wanted document by any property:
Document parentDoc = new Document(parentId);
List
is working on a reply...
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.