ins~putscenattach
Purpose
Create a new scenario attachment or overwrite an existing one.
Synopsis
function putscenattach(scenid:text, localfile:text, attachname:text, tagname:text, overwrite:boolean):text
function putscenattach(scenid:text, localfile:text):text
Arguments
|
scenid
|
The ID of the scenario
|
|
localfile
|
The filename of the attachment data to upload
|
|
attachname
|
The name of the attachment, if different from the local filename, or empty string to ignore
|
|
tagname
|
Name of a tag to give the attachment, or empty string to ignore
|
|
overwrite
|
If
true, overwrite an existing scenario attachment that has the same filename
|
Return value
The ID of the attachment created
Further information
1. If scenario ID was not found, or an issue was encountered communicating with the Insight server, the error flag will be set and
ins~haserror will return
true.
2. If there is already a scenario attachment with this filename and the
overwrite flag is not set to
true, the Insight server will return an error.
Related topics
© 2001-2026 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.
