Copied to clipboard

Flag this post as spam?

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


  • Michiel (NSC) 95 posts 115 karma points
    Jul 19, 2011 @ 19:51
    Michiel (NSC)
    0

    What is the difference between ContentType/DocumentType and Content/Document?

    I'm writing some events and I notice that is some cases I need to refer to ContentType (Document.ContentType for instance) while in other cases I need to use DocumentType (document.GetDocumentsOfDocumentType()).

    What is the difference and how do I choose which one to use?

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 19, 2011 @ 21:11
    Fuji Kusaka
    0

    HI Michiel,

    Basically a document type is pretty much similar to a db table having various fields holding data. And if am right on this Content Type is normally where all your content tree nodes are present under the content section.

    Likewise you sometimes need to use XSLT changeable source or a Content Picker to specify a start node.

    I hope this makes sense.

     

    //fuji

  • Michiel (NSC) 95 posts 115 karma points
    Jul 19, 2011 @ 21:54
    Michiel (NSC)
    0

    No, not really, sorry :-)

    I'm specifically looking for information on using the API but not in XSLT.

Please Sign in or register to post replies

Write your reply to:

Draft