HOTSPOT
A company uses SharePoint for document sharing and collaboration. Users create content types for different
types of documents that are created daily. All document content types have ProjectID, Type, and AuditStatus
columns. ProductID is not a required field. The Auditing department requires that every document have a
ProjectID within two weeks of the creation date.
If a document does not have a ProjectID, the AuditStatus column must show a message for users to specify the
ProjectID. For performance reasons, fewer than 50 documents at a time should be processed.
You need to write a work-item timer job to meet the requirement.
How should you complete the relevant code? (To answer, select the appropriate option from the drop-down list
in the answer area.)
Hot Area:
Explanation:
Box 1: ..WorkTItem Type()
You need to write a work-item timer job.
Box 2: ..BatchFetchLimit=50
For performance reasons, fewer than 50 documents at a time should be processed.
Box 3: ..ProcessWorkItem
For Work Item Timer Jobs you use the ProcessWorkItem method to execute your logic.
Processing items with Work Item Timer Jobs in SharePoint 2010