Running the KMSCCoreImport script

Run the KMSCCoreImport script from Service Manager. You can use either the command line ( sl) or click Tailoring > Script Library to access and run the script.

To run the KMSCCoreImport script:

  1. Locate the importCoreToKMNow function in the script. It is the single line of code at the bottom of the script that calls the single function in the script file.
  2. If the import is based on the out–of–box core table data then the parameter value for this call should be true. This creates records of the Problem / Solution type.
    importCoreToKMNow(true);
  3. If the import is based on customized core table data then the parameter value should be false.
    importCoreToKMNow(false);
  4. With this parameter change, you can modify the document type to match a customized document type. In the script, find the second occurrence of the line:
    newKMDoc.doctype = "howto".
    Change the doctype to match the name of your customized document type.
  5. If you change the value of the parameter and update the doctype, save the file before continuing.
  6. Click Execute. The script runs. You are notified when the process completes with the message, "The import from the core table is complete".

Related topics

Knowledge Management migration
KMSCCoreImport utility
Modifying the KMSCCoreImport script file