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
In version 4.7 the followering line worked fine, but in version 6 it gives an null reference error.Can someone tell me why?DynamicNodeList _nodes = Model.AncestorOrSelf("NewsFolder").Descendants("NewsItem");
That looks fine to me:
DynamicNodeList nodes = Model.AncestorOrSelf("NewsFolder").Descendants("NewsItem");
Someone else might be able to shed light on wether its a version 6.0 + thing. but i dont think this would be an issue. Are all the document types and nodes correct?
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
DynamicNodeList
In version 4.7 the followering line worked fine, but in version 6 it gives an null reference error.
Can someone tell me why?
DynamicNodeList _nodes = Model.AncestorOrSelf("NewsFolder").Descendants("NewsItem");
That looks fine to me:
DynamicNodeList nodes = Model.AncestorOrSelf("NewsFolder").Descendants("NewsItem");
Someone else might be able to shed light on wether its a version 6.0 + thing. but i dont think this would be an issue. Are all the document types and nodes correct?
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.