setAttachmentDocumentType
Sets the document type for an attachment
Parameters
attachmentId
documentTypeId
Example Usages
Upload a blob and set the type to 3
let attachmentId = app.uploadAttachment(blobData, 1, "attachement.jpg");
app.setAttachmentDocumentType(attachmentId, 3);
Return Values
Function returns a boolean to indicate success.
Last updated
Was this helpful?