Initializing help system before first use

insightattachstatus

Purpose
Indicates the status of the most recent attempt to access or modify an attachment.
Synopsis
function insightattachstatus:integer
Return value
One of the following constants:
INSIGHT_ATTACH_OK
The operation completed successfully.
INSIGHT_ATTACH_RUNTIME_ERROR
An internal error occurred
INSIGHT_ATTACH_NOT_FOUND
The specified attachment does not exist.
INSIGHT_ATTACH_SEVERAL_FOUND
Several attachments match the given tag but the procedure only allows for one to be retrieved.
INSIGHT_ATTACH_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.
INSIGHT_ATTACH_INVALID_DESCRIPTION
The specified description is invalid. The description can be a maximum of 2500 characters in length.
INSIGHT_ATTACH_ALREADY_EXISTS
An attachment could not be created because another attachment with the same name already exists.
INSIGHT_ATTACH_TOO_LARGE
An attachment could not be created because the attached file is too large. Attachments can be a maximum of 150Mb in size.
INSIGHT_ATTACH_TOO_MANY
An attachment could not be created because the maximum number of attachments (250) has been reached for the app or scenario.
Further information
After every call to an attachment-related function or procedure, you should check the value of insightattachstatus to see if your request succeeded.
Related topics

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.