PendingDocumentUploads.getList (Method)

Returns zero or more structures, each containing information about a pending document upload, such as its title, description, filename, filesize, subsite id, subsite URL and date added.

Returns:

PendingDocumentUploads_GetList_Results (query)

Each row of the returned query results has the following fields:

Field Name Type Description
ID PendingDocumentUploadID The unique id of the document pending upload.
Title PlainText_255 The internal CommonSpot title of the document.
UploadedDocumentURL ServerRelativeURL The url to view the pending uploaded document.

Arguments:

Name Type Required Description
userID UserID_0_NEG1 Optional. Defaults to '-1'. The UserID of the user for whom to return pending uploaded documents. Negative One (-1) for the current user, zero (0) for all users.
showFilter AllOrRecent Optional. Defaults to 'Recent'. Specify the string 'All' or 'Recent' to filter which documents to return.
searchString String Optional. Defaults to an empty string. A keyword to search for against the pending documents file name, title and description.
searchOperator SearchOperator_EmptyString Optional. Defaults to an empty string. When specifying a search string to filter against, this is the operator that will be used. For example, 'Contains', 'Begins with', 'Equals', and so on.

Context:

License Requirements (none)
Permission Requirements Contributor
Deny Context None
Require Context Authoring
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None