Attachments
Types
-
a record containing information about a single attachmentfilename : textfilename of the attachmentdescription : textdescription of the attachmenttags : list of stringcollection of tags associated with the attachmentsize : integersize of the attachment, in byteslastModifiedUser : textname of the last Insight user to modify the attachmentlastModifiedDate : datetimedate and time of last modification to attachmenthidden : booleanwhether the attachment is hidden from the UINoteModifying an insightattachment record will not modify the attachment information on the server.
-
a record containing information about the rules used by mminsight when verifying attachments.maxsize : integerthe maximum size, in bytes, that an attachment may havemaxattachcount : integerthe maximum number of attachments that can be attached to a single scenariomaxfilenamelen : integerthe maximum permitted length, in characters, of an attachment filenameinvalidfilenamechars : list of texta list of characters that are not permitted in attachment filenames. Must be a list of single-character text values.maxdescriptionlen : integerthe maximum permitted length, in characters, of an attachment descriptionNoteThis record is used only in test mode.
-
a record containing information about a tag defined in the app companion filename : stringname of the tagdescription : stringdescription of the tagmandartory :whether the tag is mandatoryusage : stringtag usage restrictions, either 'single-file' or 'multi-file'mandatory : booleanNoteModifying an insightattachmenttag record will not modify the attachment tag information on the server.
Subroutines
insightappattachinfo |
Retrieves information about a given app attachment
|
insightattachstatus |
Indicates the status of the most recent attempt to access or modify an attachment.
|
insightdeletescenattach |
Deletes a scenario attachment.
|
insightgetappattach |
Retrieves an app attachment from the Insight server, placing it in the Mosel working directory where it can be read by the model.
|
insightgetattachbytag |
Searches the scenario and the containing app for an attachment or attachments with the given tag, and retrieves them from the Insight server, placing them in the Mosel working directory where they can be read by the model. If any scenario attachments with the given tag are found, these are retrieved without searching the app. If no scenario attachments with the given tag are found, then the search continues at the app level.
|
insightgetattachrules |
Retrieves the the 'rules' used to validate attachments and attachment meta-data.
|
insightgetprojattach |
DEPRECATED
|
insightgetscenattach |
Retrieves an attachment from the Insight server either for a given scenario, placing it in the Mosel working directory where it can be read by the model.
|
insightlistappattach |
Retrieves a list of all the files attached to the app.
|
insightlistappattachbytag |
Retrieves a list of all the files attached to the app with the given tag.
|
insightlistattachtags |
Retrieves a list of the attachment tags defined in the companion file
|
insightlistprojattach |
DEPRECATED
|
insightlistprojattachbytag |
DEPRECATED
|
insightlistscenattach |
Retrieves a list of all the files attached to a given scenario.
|
insightlistscenattachbytag |
Retrieves a list of all the files attached to a scenario with the given tag.
|
insightprojattachinfo |
DEPRECATED
|
insightputscenattach |
Uploads a scenario attachment to the Insight server, reading it from the Mosel working directory.
|
insightrenamescenattach |
Renames an existing scenario attachment.
|
insightscenattachinfo |
Retrieves information about a given scenario attachment
|
insightsetscenattachdesc |
Update the description of an existing scenario attachment.
|
insightsetscenattachhidden |
Mark an existing scenario attachment as hidden or visible in the Xpress Insight UI.
|
insightsetscenattachtags |
Update the tags of an existing scenario attachment.
|