App Attachments
App attachments are read-only from the Mosel model. They can be used as an alternative to model resources to provide a source of input data. The advantage they have over model resources is that an app attachment can be updated via the web client, whereas model resources are final once the app has been created.
Before a model can use an app attachment, it must download it from the
Xpress Insight server:
insightgetprojattach('input.dat')
After this call, a local copy of the file is available in Mosel's working directory where it can be read as you usually would in Mosel. For example:
initializations from 'input.dat' MyData end-initializations
The model can also list all the available app attachments by calling insightlistprojattach, and can retrieve information about a particular attachment using insightgetprojattachinfo.