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
Why is Document.Parent a CMSNode and not another Document?
This is because the property belongs to the the CMSNode class. Document is derived from that class.
Cheers,
Richard
All Documents are derived from CMSNode... You might be able to cast it to a Document:
var parentDoc = (Document) doc.Parent
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.
Continue discussion
Why is Document.Parent a CMSNode?
Why is Document.Parent a CMSNode and not another Document?
This is because the property belongs to the the CMSNode class. Document is derived from that class.
Cheers,
Richard
All Documents are derived from CMSNode... You might be able to cast it to a Document:
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.