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
  • We don't use SSO - it's all local accounts for us - so UserName:email@company.com isn't working. All I get is Error loading job 'myconfig.config'. The connection with the ID 'UserName:email@company.com/ishws/infoshareauthor' cannot be found.

    My local account has that email address associated with it, but that doesn't seem to be the answer. It's also not yet clear what the role of /infoshareauthor is in the connectionId

    I've opened a ticket with the support team to help getting a decent working example. Hang tight!

  • Got it, thanks to help from Frank G in support!

    <connectionId>UserName:DocsUserName@DocsBaseURL/ishws/infoshareauthor</connectionId>

    It's not a function of SSO vs. local accounts; I misinterpreted the foo.bar as my user's domain, but it's actually the Docs machine's base URL. This works for me:

    User ID: Neman Syed

    Docs URL: https://ccms.company.com/ISHCM

    Docs Base URL: ccms.company.com

    Working Connection ID: <connectionId>UserName:Neman Syed@ccms.company.com/ishws/infoshareauthor</connectionId>

    I'll post a working example config file as a reply to my original question.