Question & Answer
Question
How to use IBM Content Collector (ICC) to create a task route to archive file system documents with metadata and multiple content elements into P8 repository?
Cause
IBM Content Collector does not provide a task route template for archiving file system documents with metadata and multiple content elements.
Answer
Use the following example as a reference. The following 3 files are to be stored into P8 in one object with 3 content elements:
- C:\Temp\file source\file1.txt
- C:\Temp\file source\file2.txt
- C:\Temp\file source\file3.txt
1.
1. Create a XML metadata file similar to the following:
<xml>
<transact>
<filename>C:\Temp\file source\file1.txt</filename>
<filename>C:\Temp\file source\file2.txt</filename>
<filename>C:\Temp\file source\file3.txt</filename>
</transact>
<firstproperty>some_label</firstproperty>
<secondproperty>some_other_property</secondproperty>
</xml>
2. The task route requires two FSC Associate Metadata tasks.
3. Configure the following for the first FSC Associate Metadata task:
- In the Document Name tab, for Base the name of the document, select Values in the metadata file. In the drop down list for Property containing document file names, select any one of your metadata properties. The value selected here is not important.
- Select the check boxes Group documents by metadata file and Documents are contentless.
- In the Metadata Mapping tab, provide mapping for only your customer custom properties. Do not select the property that provides the actual file path to the document.
- In the Document Name tab, for Base the name of the document, select Values in the metadata file. In the drop down list for Property containing document file names, select the property that contains the actual file path to the document.
- Select the check box Group documents by metadata file.
- Do not select the check box Documents are contentless.
- In the Metadata Mapping tab, provide mapping for only the property that contains the actual file path to the document.
[{"Product":{"code":"SSAE9L","label":"Content Collector"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Content Collector for File Systems","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2.2;3.0;4.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21662854