Loading...

File Storage Setup

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 of 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

  1. Create an Azure Blob Storage
  2. Edit the Web client appsettings.json file
  3. In the FileStorage configuration section, do the following
  • Change the StorageType to "AzureBlobStorage"
  • Specify the AzureBlobStorage ConnectionString property
  • Specify the AzureBlobStorage ContainerName property
  1. Repeat these steps for the System Worker appsettings.json file

Example:

"FileStorage": {
"StorageType": "AzureBlobStorage",
"AzureBlobStorage": {
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=...",
"ContainerName": "MyContainer"
},
...
},

Configuring Local disk

Using this option, files will be stored on a disk drive under the specified path.

  1. Edit the Web client appsettings.json file
  2. In the FileStorage configuration section, do the following
  • Change the StorageType to "FileSystem"
  • Specify the FileSystem Path property
  1. 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.


Videos