$def with (batch_result=None) $# type: (BatchResult) $var title: $_("Batch Imports")

$_("Batch Imports")

$_('Attach a JSONL formatted document with import records or copy/paste the JSONL text into the textarea.')

$:_('See the olclient import schemata for more.')

$_('Attach a file:')


$_('Or copy/paste JSONL text:')


$if batch_result and batch_result.errors:

$_('Import failed.')

$_('No import will be queued until *every* record validates successfully.')

$_('Please update the JSONL file and reload this page (there should be no need to reattach the file).')

$_('Validation errors:')

$for error in batch_result.errors:
  • $_('Line %d:', error.line_number) $error.error_message
  • $if batch_result and batch_result.batch:

    $_('Import results for batch:') Batch #$batch_result.batch.id ($batch_result.batch.name)

    $_('Records submitted:') $batch_result.batch.total_submitted

    $_('Total queued:') $batch_result.batch.total_queued

    $_('Total skipped:') $batch_result.batch.total_skipped

    $if batch_result.batch.total_skipped > 0:
    $_('Not queued because they are already present in the queue:')
      $for item in batch_result.batch.items_skipped:
    1. $item

    $_('View Batch Status')