Configure storage providers for libraries

You can configure storage providers for libraries from the Basic settings in your Sitefinity CMS administrative backend. This is done in the following way:
  1. In the main menu, click Administration » Settings.
    The Basic Settings page appears.
  2. Click Storage providers for Libraries.
    By default two storage providers exist:
    • Database
      Items are stores in your projects database.
      This provider is the default.
    • File System
      Items are stored in your projects folder ~/App_Data/Storage/FileSystem.
      To make this the default storage, click Set as default.
      NOTE: To be able to seek through video or audio files, use the File System built-in storage provider.
      In addition, to enable streaming of videos in iOS, use the File System built-in storage provider for the Video library. For more information, Stream videos in iOS.

Create a new storage provider

You can create storage providers for libraries from the Basic settings in your Sitefinity CMS administrative backend. To create a new storage provider, follow these steps:

  1. In the main menu, click Administration » Settings.
    The Basic Settings page appears.
  2. Click Storage providers for Libraries.
  3. Click Add storage provider button.
    The Add a provider window appears.
  4. Enter a name for the provider.
  5. In Provider type dropdown, select one of the following:
    • Database
      1. Click Continue.
      2. On the next screen, select a database where you want to store the files.
        The dropdown box contains all databases that you have configured.
    • File System.
      1. Click Continue.
      2. Enter the folder path where you want to store the files.
    • Windows Azure
      For more information see: Configure Windows Azure storage provider
    • Amazon S3
      For more information see: Configure Amazon S3 storage provider
  6. To check if you have access to the database or the folder, click Test settings.
    A test status message appears.
  7. Click Done.
    The new storage provider appears in the list of providers.

Editing storage providers

  • To edit the properties of a storage provider, navigate to the Storage providers for Libraries section in the Basic settings (Administration » Settings » Basic Settings » Storage providers for Libraries. Locate the provider you want to edit and click on it.
    You can change the database or the folder where the files are saved, but you cannot change the type of the provider.

    NOTE: Some external storage providers require you to go to the Advanced settings in your Sitefinity CMS administrative backend to edit their properties. For more information see: Configure Amazon S3 storage provider

  • To delete a provider, in the list of all providers, click the Remove link of the provider.

    NOTE: You cannot delete the storage provider that is set as Default.

Was this article helpful?