Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Larson 48 posts 63 karma points
    Jul 11, 2009 @ 15:56
    Chris Larson
    1

    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?

    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>

  • Chris Larson 48 posts 63 karma points
    Jul 11, 2009 @ 15:57
    Chris Larson
    0

    Ok, this new forum desperately needs an edit button for when the code snippets get eaten...

    Code snippit should be....

    Document.getAllUniqueNodeIdsFromObjectType(dt.UniqueId);

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Oct 13, 2009 @ 13:50
    Stefan Kip
    1

    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 :-/

  • Jonas Eriksson 930 posts 1825 karma points
    Jan 10, 2010 @ 17:04
    Jonas Eriksson
    0

    I'm also having this issue...

  • Jonas Eriksson 930 posts 1825 karma points
    Jan 18, 2010 @ 10:42
  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jan 18, 2010 @ 12:56
    Aaron Powell
    0

    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...

Please Sign in or register to post replies

Write your reply to:

Draft