REMINDER: On December 1, 2018, this forum will be closed to new posts and responses. After that date, you will still be able to view and search the forum. New discussions should take place in the IBM Developer Answers forum.
RE: File attachments and Java Andrei Kouvchinnikov 12.Jul.07 07:03 AM a Web browser Domino Designer 6.5.2 FP1All Platforms
You can use DxlImporter class to create an attachment from text string.
Easiest way to know the required XML format is to export an existing document with attachment to DXL/XML and then re-create the same structure in your own code.
I am not sure if "Run restricted LotusScript/Java agents" is still needed for this operation.