ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.DataReviewer Namespace / ReviewerUtil Class / CreateBatchJobProjectItem Method
A file path to a batch job
Version

CreateBatchJobProjectItem Method
Creates a project item representing a Data Reviewer batch job. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public static IProjectItem CreateBatchJobProjectItem( 
   string itemPath
)

Parameters

itemPath
A file path to a batch job

Return Value

A new project item
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
The file specified was not found or there is not sufficient permissions to access the file.
The batch job specified is not a valid Data Reviewer batch job.
itemPath cannot be null or empty.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also