Recommended changes—migrate to VDL/JS API 4.5
JS API 4.5 changes
The following JS API functions have been renamed.
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 |
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.
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
Previous name |
New Name |
---|---|
scenario.props.projectId | scenario.props.appId |
© 2001-2020 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.