You are here
Find Document By Id
If the SpringCM Document Id is known, you can easily retrieve the full SCMDocument object with the DocumentGetById method. While the Load method can be used here as well, the results will have to be cast from an SCMBaseObject to an SCMDocument. However, Load takes an array of Id's as a parameter and is useful to retrieve multiple documents object at once.
Both methods take a boolean parameter to specify if metadata should be included on the SCMDocument object. This should be set to false unless metadata is specifically needed by the calling code, as the call will be optimized by not having to send all of the document's metadata over the wire.