Please check comments in that example. For the attachments that has not been loaded yet, the file name would contain path delimiters. Newly added attachments could be distinguished this way.
Another way would be to compare record to its original using CQ API, and add newly added attachments, if any.
Users browsing this forum: No registered users and 4 guests