Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ var validationResult = await jobManager.CreateAsync(
// Start export job
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down Expand Up @@ -828,7 +828,7 @@ To run a sample code:

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# ExportSourceType: ExportFolder or ExportFolderWithSubfolders
[int]$viewId = 1003684
[int]$folderID = 1003697
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# ExportSourceType: ExportFolder or ExportFolderWithSubfolders
[int]$viewId = 1003684
[int]$folderID = 1003697
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# ExportSourceType: ExportFolder or ExportFolderWithSubfolders
[int]$viewId = 1003684
[int]$folderID = 1003697
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# ExportSourceType: ExportFolder or ExportFolderWithSubfolders
[int]$viewId = 1003684
[int]$folderID = 1003697
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# ExportSourceType: ExportFolder or ExportFolderWithSubfolders
[int]$viewId = 1003684
[int]$folderID = 1003697
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# ExportSourceType: ExportFolder or ExportFolderWithSubfolders
[int]$viewId = 1003684
[int]$folderID = 1003697
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# ExportSourceType: ExportFolder or ExportFolderWithSubfolders
[int]$viewId = 1003684
[int]$folderID = 1003697
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# ExportSourceType: ExportFolder or ExportFolderWithSubfolders
[int]$viewId = 1003684
[int]$folderID = 1003697
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $jobId = New-Guid

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
[int]$viewId = 1003684
[int]$folderID = 1003697

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $jobId = New-Guid

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
[int]$viewId = 1003684
[int]$folderID = 1003697

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $jobId = New-Guid

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
[int]$viewId = 1003684
[int]$folderID = 1003697

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $jobId = New-Guid

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
[int]$viewId = 1003684
[int]$folderID = 1003697

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# Export settings parameters
# Your view ID: view will provide us with available data to export, requires folder to be visible there.
# Your folder ID: our targetted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
# Your folder ID: our targeted folder. If you want to export from the workspace root, the ID is different from the workspace ID.
[int]$viewId = 1003684
[int]$folderID = 1003697

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public async Task Export_FromFolder_All()
int viewID = 1042326;

// Your Folder ID.
// Our targetted folder. If you want to export from the workspace root,
// Our targeted folder. If you want to export from the workspace root,
// the ID is different from the workspace ID.
int folderID = 1003697;

Expand Down Expand Up @@ -166,10 +166,10 @@ public async Task Export_FromFolder_All()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public async Task Export_FromFolder_All_With_Aliases()
int viewID = 1042326;

// Your Folder ID.
// Our targetted folder. If you want to export from the workspace root,
// Our targeted folder. If you want to export from the workspace root,
// the ID is different from the workspace ID.
int folderID = 1003697;

Expand Down Expand Up @@ -176,10 +176,10 @@ public async Task Export_FromFolder_All_With_Aliases()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Relativity.Export.Samples.RelConsole.SampleCollection;

public partial class BaseExportService
{
[SampleMetadata(nameof(Export_FromFolder_All_With_DataSource_Name_In_Loadfile), "Exports native, fulltext, images and PDF files from folder. Exported laodfiles names contians DataSource name and date.")]
[SampleMetadata(nameof(Export_FromFolder_All_With_DataSource_Name_In_Loadfile), "Exports native, fulltext, images and PDF files from folder. Exported loadfile names contain DataSource name and date.")]
public async Task Export_FromFolder_All_With_DataSource_Name_In_Loadfile()
{
// Your workspace ID.
Expand All @@ -18,7 +18,7 @@ public async Task Export_FromFolder_All_With_DataSource_Name_In_Loadfile()
int viewID = 1042326;

// Your Folder ID.
// Our targetted folder. If you want to export from the workspace root,
// Our targeted folder. If you want to export from the workspace root,
// the ID is different from the workspace ID.
int folderID = 1003697;

Expand Down Expand Up @@ -167,10 +167,10 @@ public async Task Export_FromFolder_All_With_DataSource_Name_In_Loadfile()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public async Task Export_FromFolder_FullText()
int viewID = 1042326;

// Your Folder ID.
// Our targetted folder. If you want to export from the workspace root,
// Our targeted folder. If you want to export from the workspace root,
// the ID is different from the workspace ID.
int folderID = 1003697;

Expand Down Expand Up @@ -156,10 +156,10 @@ public async Task Export_FromFolder_FullText()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public async Task Export_FromFolder_Images()
int viewID = 1042326;

// Your Folder ID.
// Our targetted folder. If you want to export from the workspace root,
// Our targeted folder. If you want to export from the workspace root,
// the ID is different from the workspace ID.
int folderID = 1003697;

Expand Down Expand Up @@ -150,10 +150,10 @@ public async Task Export_FromFolder_Images()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public async Task Export_FromFolder_NativeFiles()
int viewID = 1042326;

// Your Folder ID.
// Our targetted folder. If you want to export from the workspace root,
// Our targeted folder. If you want to export from the workspace root,
// the ID is different from the workspace ID.
int folderID = 1003697;

Expand Down Expand Up @@ -145,10 +145,10 @@ public async Task Export_FromFolder_NativeFiles()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public async Task Export_FromFolder_PDF()
int viewID = 1042326;

// Your Folder ID.
// Our targetted folder. If you want to export from the workspace root,
// Our targeted folder. If you want to export from the workspace root,
// the ID is different from the workspace ID.
int folderID = 1003697;

Expand Down Expand Up @@ -144,10 +144,10 @@ public async Task Export_FromFolder_PDF()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ public async Task Export_FromProduction_All()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ public async Task Export_FromProduction_Fulltext()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ public async Task Export_FromProduction_Images()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ public async Task Export_FromProduction_NativeFiles()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ public async Task Export_FromProduction_PDF()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public async Task Export_RDO()
int workspaceID = 6648897;

// Your Folder ID.
// Our targetted folder. If you want to export from the workspace root,
// Our targeted folder. If you want to export from the workspace root,
// the ID is different from the workspace ID.
// int viewID = 1042316;
int viewID = 1036791; // Dev view
Expand Down Expand Up @@ -162,10 +162,10 @@ public async Task Export_RDO()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ public async Task Export_FromSavedSearch_All()
_logger.LogInformation("Job created successfully");

// Start export job
_logger.LogInformation($"Stating job with <{jobID}> ID");
_logger.LogInformation($"Starting job with <{jobID}> ID");
var startResponse = await jobManager.StartAsync(workspaceID, jobID);

// Check for errors that occured during job start
// Check for errors that occurred during job start
if (!string.IsNullOrEmpty(startResponse.ErrorMessage))
{
_logger.LogError($"<{startResponse.ErrorCode}> {startResponse.ErrorMessage}");
Expand Down
Loading