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
More curious than anything, has anyone had any success enumerating all documents of a specific document type using the sample code below?
Document</span><span class="pun" style="color: #666600;">.</span><span class="pln" style="color: #000000;">getAllUniqueNodeIdsFromObjectType</span><span class="pun" style="color: #666600;">(</span><span class="pln" style="color: #000000;">dt</span><span class="pun" style="color: #666600;">.</span><span class="typ" style="color: #660066;">UniqueId);</span>
Ok, this new forum desperately needs an edit button for when the code snippets get eaten...
Code snippit should be....
Document.getAllUniqueNodeIdsFromObjectType(dt.UniqueId);
http://forum.umbraco.org/yaf_postst8558_getAllUniqueNodeIdsFromObjectType.aspxExplains what the method getAllUnique....() does and does not do ;-)I'm looking for an answer right now, because the topic above doesn't supply an answer :-/
I'm also having this issue...
http://umbraco.org/apiDocs/html/M_umbraco_cms_businesslogic_Content_getContentOfContentType.htm
Do you mean loading them from the DB? I wouldn't advise that, you're going to do a lot of DB calls to return them all...
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Enumerating Documents of specific DocType
More curious than anything, has anyone had any success enumerating all documents of a specific document type using the sample code below?
Ok, this new forum desperately needs an edit button for when the code snippets get eaten...
Code snippit should be....
Document.getAllUniqueNodeIdsFromObjectType(dt.UniqueId);
http://forum.umbraco.org/yaf_postst8558_getAllUniqueNodeIdsFromObjectType.aspx
Explains what the method getAllUnique....() does and does not do ;-)
I'm looking for an answer right now, because the topic above doesn't supply an answer :-/
I'm also having this issue...
http://umbraco.org/apiDocs/html/M_umbraco_cms_businesslogic_Content_getContentOfContentType.htm
Do you mean loading them from the DB? I wouldn't advise that, you're going to do a lot of DB calls to return them all...
is working on a reply...