File Storage Setup
Note
If you run Profitbase InVision as a hosted SaaS service, the File Storage configuration is automatically configured.
The contents of this page only applies to on-premises deployments.
Supported storage mediums
Before you can use File Storage, you need to set up how the files should be physically stored. You do this by specifying a file storage provider, such as Azure Blob Storage or a disk.
Configuring Azure Blob Storage
Using this option, files will be stored in Azure Blob Storage.
To configure Azure Blob Storage, perform the following steps
- Create an Azure Blob Storage
- Edit the Web client
appsettings.json
file - In the
FileStorage
configuration section, do the following
- Change the
StorageType
to "AzureBlobStorage" - Specify the Azure Blob Storage
SasUri
- Repeat these steps for the System Worker appsettings.json file
Example:
"FileStorage": {
"StorageType": "AzureBlobStorage",
"AzureBlobStorage": {
"SasUri": "https://....blob.core.windows.net/..."
},
...
},
Configuring Local disk
Using this option, files will be stored on a disk drive under the specified path.
- Edit the Web client
appsettings.json
file - In the
FileStorage
configuration section, do the following
- Change the
StorageType
to "FileSystem" - Specify the FileSystem
Path
property
- Repeat these steps for the System Worker appsettings.json file
Example:
"FileStorage": {
"StorageType": "FileSystem",
...
"FileSystem": {
"Path": "Z:\\Profitbase\\InVision\\Filestorage"
},
},
Note
When using local disk as the physical file storage, it is important to set up backup of the specified path in case of disk failure or other critical errors. Profitbase InVision does not have a built-in backup solution, so this has be set up manually.