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
Hi Angela, no the files are not yet in the file vault. I have used "add" instead of "get" for no special reason. I am not an experienced AML user. What could be the condition rule for the files?
Eli, thank you for your help.
Hi Angela, no the files are not yet in the file vault. I have used "add" instead of "get" for no special reason. I am not an experienced AML user. What could be the condition rule for the files?
Eli, thank you for your help.