importOrGetAttachment

Deprecated

More attachment information is required

Replace with

importAttachment(jar, uploader, filename)

Inserts or returns Attachment Id of attachment. Does not throw an exception if already uploaded.

Return

AttachmentId of uploaded attachment

Parameters

jar

InputStream of Jar file