Hi,
I like to add new documents with attached files. Generally that works. But when a file does not exist I get the Error: File xy.dwg does not exist and the document will not be created.
Is there a possibility that the document will still be created without file?
I am using this AML template with Batch Loader
<Item type="Document" where="pbu_id='@1'" action="merge" version="0">
<pbu_id>@1</pbu_id>
...
<viewable_file>
<Item type="File" action="add">
<actual_filename>@7</actual_filename>
<filename>@8</filename>
<Relationships>
<Item type="Located" action="add">
<related_id>xy</related_id>
</Item>
</Relationships>
</Item>
</viewable_file>
<Relationships>
<Item type="Document File" action="add">
<related_id>
<Item type="File" action="add">
<actual_filename>@9</actual_filename>
<filename>@10</filename>
<Relationships>
<Item type="Located" action="add">
<related_id>xy</related_id>
</Item>
</Relationships>
</Item>
</related_id>
</Item>
</Relationships>
</Item>
I appreciate your comments.
Regards Klaus
Are your Files already available in the File Vault and in the ItemType File? I wonder why you use "add" for the Files instead of "get". You maybe can use a condition rule for the Files.
Are your Files already available in the File Vault and in the ItemType File? I wonder why you use "add" for the Files instead of "get". You maybe can use a condition rule for the Files.