Initializing help system before first use

AttachStatus

AttachStatus


Purpose
Indicates the status of the most recent attempt to access or modify an attachment.
Synopsis
class xi.AttachStatus(Enum)
Arguments
xi.AttachStatus.OK 
The operation completed successfully.
xi.AttachStatus.NOT_FOUND 
The specified attachment does not exist.
xi.AttachStatus.INVALID_FILENAME 
An attachment could not be created or renamed because the specified filename is invalid. It may be too long, too short, or contain invalid characters.
xi.AttachStatus.INVALID_DESCRIPTION 
The specified description is invalid. The description can be a maximum of 2500 characters in length.
xi.AttachStatus.ALREADY_EXISTS 
An attachment could not be created because another attachment with the same name already exists.
xi.AttachStatus.TOO_LARGE 
An attachment could not be created because the attached file is too large. Attachments can be a maximum of 150Mb in size.
xi.AttachStatus.TOO_MANY 
An attachment could not be created because the maximum number of attachments (250) has been reached for the app or scenario.
xi.AttachStatus.INVALID_TAGS 
Invalid tags were provided.
xi.AttachStatus.SEVERAL_FOUND 
Several attachments match the given tag but the proxpressinsight
Further information
After every call to an attachment-related function or procedure, you should check the value of insight.attach_status to see if your request succeeded.