TD14SP1: Content Importer command line fails; examples need more clarity

Hi. I'm unable to import seemingly-valid content, and as part of reducing steps to repeat running Content Importer, I was pleased to find a command line version exists. But I can't get it working, right from the start.

Documentation reference: https://docs.sdl.com/796504/698806/sdl-tridion-docs-14-sp2/contentimporter-run

This is the test.config file I made based on the help topic:

<importJob>

  <connectionId>foo.bar.com/.../connectionId>

  <!-- actionType options could be convert-and-import, import, and import-translation; example file used ConvertAndImport -->
  <actionType>Import</actionType>

  <!-- Relevant to all types of import. Should only have one type of content, e.g. maps but not topics. If req'd, create one subfolder per content type. -->
  <inputPath>C:\Users\me\Desktop\input</inputPath>

  <!-- Relevant to all types of import. Target folder in repository. If subfolders exist in source folder, appropriate subfolders are made in target folder. -->
  <repositoryPath>General/Manuals/MyImport/Topics</repositoryPath>

  <defaultLanguage>
    <value>VLANGUAGEEN</value>
    <label>en</label>
    <description>English</description>
  </defaultLanguage>

  <defaultRendition>
    <value>VRESLOW</value>
    <label>Low</label>
    <description />
  </defaultRendition>

</importJob>

1. Upon running with "C:\Program Files\SDL\Content Importer\14.0\ContentImporter.exe" run test.config:

Error loading job 'test.config'. The connection with the ID 'https://foo.bar.com/ISHWS' cannot be found.

I can absolutely guarantee my connection to https://foo.bar.com/ISHWS is valid and accessible. It fails in the same manner with all the combinations of foo.bar.com/ISHWS, foo.bar.com/.../ishws, etc.

2. The actionType value in the example does not match the list of command line arguments in the parent topic, which is the closest thing I can find to an actual listing of values. The help option doesn't provide any valid list of values.

I'll no doubt have many more questions if I have to do this with Standard Import, but right now I want to get this working on Without Conversion.

Thanks!

Neman

Parents Reply Children
No Data