Document.getDocumentCount(string selectionCriteria)

Use this call to see the number of documents that match the selection criteria.

Parameters

Parameter Description
selectionCriteria The selection criteria you want.

Returns

This call returns the number of documents that match the selection criteria.

Example

from ConnectDefs import * 
import xmlrpclib

myProxy = None 

try:
   myProxy = connectLogin("AcmeServer", "aiw", "password") 
   myJobData = myProxy.Document.getDocumentCount("Doc.ID > 0")
   print myJobData

except xmlrpcFault, err:
   print err.faultString + " (" + str(err.faultCode) + ")"
finally:
   connectLogout(myProxy, "aiw")

5100