Overview
| Plugin key | BAS Setting key |
|---|---|
accelerator_file-upload | bas-plugin-widget-file-upload |
- Creating What-If branches with new sensitivities.
- Creating What-If branches with different parameters.
- Changing datastore configurations.
- Uploading ‘scenarios’ as What-Ifs. Files part of a specific scenario can be organized in a single grouping and sent to the UI to be selected that way.
- Group topics and their related files to be selected as part of What-Ifs.



Availability
| Solution | Enabled |
|---|---|
| FRTB | ✅ |
| Market risk | ✅ |
| SIMM | ✅ |
| CVARC | ✅ |
| Limits | ❌ |
| Sign-off | ❌ |
Settings
| Key | Type | Description | Example | |
|---|---|---|---|---|
groupSelectorEnabled | boolean | Whether to display the file group selection dropdown | ||
getFilePathsRestEndpoint | `string | undefined` | Optional override of the service URL from versions/rest that returns the list of files for this server | /services/rest/whatif/fileUpload/retrieveStagedFile |
sendFilePathsRestEndpoint | `string | undefined` | Optional override of the service URL from versions/rest that states where to send the upload request | /services/rest/whatif/stressedSensitivity/upload/ |
successMessage | string | Message to display when the upload is successful | ||
initialPrompt | string | Message to display at the beginning of the form | ||
fileSelectorPlaceholder | string | Placeholder message to display when no file is selected | ||
uploadNamePlaceholder | string | Placeholder message to display when no branch name has been typed | ||
stagingDirectoryName | string | The name of the folder on the server that contains the files ready to be uploaded | stage | |
selectableDirectories | boolean | Whether directories can be selected for upload |
How to modify a setting
To modify a setting, you need to modify thebasSettings that you provide to the activate function. The following example shows you how to provide the activate function with the default basSettings while updating the settings for the File Upload widget:
How to disable it
Disable universally
To disable this feature for all solutions, add this line at the end of your extension’sactivate function to unregister the plugin:
Disable for specific servers
To disable this feature for a given server, you must delete this feature’s settings for that server key by altering thebasSettings parameter before calling the activate function.
Example
Disabling this feature for the FRTB server only: