Initializing help system before first use

Using Attachments in the Basic Insight App

Attachments are files you can associate with an app or individual scenario. They can either be provided with the initial app archive in the attachments folder, or created and modified by interacting with Xpress Insight itself.

Attachments can also be accessed using the standard data access functions of Mosel using the appropriate mminsight procedures, thus providing another way for a user to interact with the underlying model. One advantage of attachments over model resources (such as the folio.dat file configured in the example project) is that attachments can be updated by Xpress Insight, whereas model resources are not changeable once an app has been created.

Other powerful use-cases for attachments (and, by implication, differences between attachments and model_resources files) include:
  • They can be written to at runtime and served dynamically via the JavaScript API.
  • Attachments can be easily switched or removed by users.
  • They are supported by a range of included editors.
  • Attachments can be associated with tags, allowing users to control what data is processed without changing the underlying model.
Note: Files of some potentially insecure types cannot be used as app or scenario attachments. If you have the Xpress Insight server hosted on-premises, you can configure which file types are allowed. However, the FICO® Platform version of the Xpress Insight server does not allow attachments with the following extensions: apk, asp, aspx, bat, bin, c, cc, class, conf, cpp, css, dll, exe, gif, iso, java, js, jse, jsp, lib, php, phps, phtml, properties, ps1, rar, rpm, sh, swf, tar, tga, tiff, vb, vbe, vbs, vbscript, war, xlm, xlsm, xltm, xsdt. The server blocks any import or upload of a repository, app, folder, or scenario that contains any attachments with these extensions. For more on configuring the extension blocklist for an on-premises installation, see Securing Xpress Insight.

You can add an attachment for a single scenario or for an entire app, but uploading the files works in the same way. You can upload up to 250 files per scenario, and each file can be up to 300 MB.

In the following sections, an attachment is built in to the app while developing it, and then it is changed at run time in Xpress Insight, to demonstrate the two-way interaction with the underlying model.

© 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.