Xpress Insight 4,5 supports JS API 4,5 and VDL 4.5. The deprecated changes detailed in this section will be fully applied in Xpress Insight 5.0, it may be convenient to perform these changes when updating your apps.
JS API 4,5 changes
The following JS API functions have been renamed.
JS API 4,5 renamed functions
Deprecated function |
Replacement function |
| ModelSchema#getProjectId |
ModelSchema#getAppId |
| Scenario#downloadProjectAttachments |
Scenario#downloadAppAttachments |
| Scenario#getProjectAttachment |
Scenario#getAppAttachment |
| Scenario#getProjectAttachments |
Scenario#getAppAttachments |
| Scenario#getTaggedProjectAttachments |
Scenario#getTaggedAppAttachments |
| ScenarioProperties#getProjectId |
ScenarioProperties#getAppId |
| View#getProject |
View#getApp |
| View#getProjectId |
View#getAppId |
| View#openProjectAttachmentsDialog |
View#openAppAttachmentsDialog |
| View#createProjectAttachment |
View#createAppAttachment |
| View#uploadProjectAttachment |
View#uploadAppAttachment |
Other JS API 4,5 changes
Details |
| AutoText attachment type renamed from project to app. |
| Project object renamed to App. |
VDL 4,5 changes
Views using VDL 3.x can be upgraded to VDL 4,5 by changing the version at the top of the file.
<vdl version="4,5">
Views using VDL 2.x will require more significant changes. For more, see the developer guide chapter on the FICO website.
vdl-attachment-button action property values
Deprecated value |
New value |
| download-project-attachment |
download-app-attachment |
| edit-project-attachment-properties |
edit-app-attachment-properties |
| edit-project-attachment |
edit-app-attachment |
| create-project-attachment |
create-app-attachment |
| upload-project-attachment |
upload-app-attachment |
| manage-project-attachments |
manage-app-attachments |
Other VDL 4,5 changes
Renamed VDL 4,5 properties
Previous name |
New Name |
| scenario.props.projectId |
scenario.props.appId |