文書アイテムから添付ファイルをすべて削除します。
パラメータ | 説明 |
---|---|
fieldName | 添付ファイルを格納するアイテムの名前。 |
if (document1.getAttachmentList("body").isEmpty()) {
requestScope.alist = "No attachments in body";
} else {
document1.removeAllAttachments("body");
requestScope.alist = "All attachments removed from body";
}