We’re planning to upload documents to the Content Server using Object Importer. Our goal is to inherit the category and attribute details from the parent folder for each imported document.
Is there a way to achieve this through the Object Importer configuration? Specifically, do any settings or parameters need to be defined in the .xml control file to enable this inheritance?
To inherit Categories and Attributes during document import using Object Importer, no special configuration is needed in the control file. The inheritance behavior is determined by the parent folder's settings in Content Server.
Steps to Enable Inheritance:
• Assign the desired Category to the parent folder and ensure inheritance is enabled.
• When importing documents, use a minimal control file without specifying a block. The imported documents will automatically inherit the Category and attribute values from the parent folder.
Example (Document Import with Inheritance):
<import>
<node type="document" action="create">
<location>Enterprise:Projects:Invoices</location>
<title language="en">Invoice-0001.pdf</title>
<file>C:\drop\Invoice-0001.pdf</file>
</node>
</import>
Note: No tag is included—the folder handles inheritance.
Additional Options:
• To inherit: Import documents into a folder that already has the Category with inheritance enabled.
• To override inheritance: Use in the control file.
• To reapply folder Category to all child items: Use in a folder update operation.