Document and file libraries

Overview

You display and manage all created libraries on Documents & Files page. 
The Documents & Files page displays the number of documents or files in each library, the number of child libraries, the date of the last uploaded document or file, and where those documents and files are stored. 

Display and edit the documents and files in a library 

You can display all documents, files, and sub-libraries in a library in one of the following ways:

  • On Documents & Files page, click the library whose documents and files you want to display. 
    All documents and files in the library appear. 
  • On Documents & Files page, click BrowseClass (Browse documents) to open the quick view menu in the right side of page and then click the library with the documents you want to display.

To edit the documents or the files in the library, perform the procedure in Document properties.

To go back to all documents and files, click All documents link above the documents where the path of the library is displayed or in the main menu in the upper part of the screen, click Content » Documents & Files

Create a document and file library 

  1. On Documents & Files page, click Create a library button in the toolbar. 
    The Create a library page appears. 
  2. Enter a name for the library. 
  3. Under Put this library… (for all translations) choose where to create the library. 
    Select one of the following:
    • On top level 
      This is a root library. 
    • Under parent library… 
      A list with existing libraries appears. 
      Select a library to be the parent of the library you are creating.

      NOTE: If the library you are creating is located in another library, it has the same settings as its parent. You can only set cache options, storage providers, and resizing options for a root library, located at top level.

  4. If you create a parent library, you can also select the storage provider. For more information, see Configure storage providers for libraries.

Supported files and file icons

In the document and file library, you can upload any file format.  
The following file formats have dedicated icons that are automatically displayed in the backend and on the frontend together with each file:
.ace, .css, .wmv, .mov, .mpeg, .mpg, .avi, .mp4, .ogg, .wma, .wav, .mp3, .ppsx, .pps, .ppt, .pptx, .rar, .csv, .jpeg, .xlsx, .docx, .html, .png, .gif, .jpg, .zip, .xls, .txt, .rtf, .doc, .pdf

To filter what file formats can be uploaded to your website, perform the following: 

  1. Navigate to Administration » Advanced » Libraries » Documents
  2. In Allowed file extensions input field, enter the allowed file extensions in a comma separated string. For example, .pdf, .docx, .PPT, .TXT 
  3. Set Enable extension filtering property to be enabled by entering True in the input field. 
  4. Click Save changes

Edit document and file libraries 

  1. To edit the library properties, on Documents & Files page expand the Actions button of the library you want to edit. 
  2. From the dropdown box, click Library properties
    The Library properties page appears. 
  3. You can change the following library properties:
    • The name of the library 
    • The description of the library 
    • The URL of the library

      NOTE: If you are changing the URL of the library, Sitefinity CMS changes the URLs of the items one by one. In case of external storage, changing the library URL may cause data transfer from one storage to another. In case of failure, some of the items might keep their previous URLs and some of the items will have the updated URLs. You can try to resume to get the rest of the items relocated.

    • Change whether this is a parent or a child library and set a parent library for child libraries 

    • Set the maximum size for libraries and documents. 

    • Set the caching options for the library 

    • Select a storage provider for the library 
      You can trigger the process to change the blob storage provider of a library, which moves all items in a different storage. For example, an image library kept in the database can be moved to the cloud.

  4. Click Save changes
    The system returns you to Documents & Files page.

Change the parent library of a documents and files library

Once created, a library can be moved together with all of its content to another library, by changing its parent library. 

To do this, perform the following:

  1. Expand the Actions button of the library that you want to move and from the dropdown, select Move to another library 
    The Move to another library dialog appears. 
  2. Select the new parent library and click Move

Reorder documents

To reorder the documents in a library, perform the following:

  1. Expand the Actions button of the library you want to reorder. 
  2. Click Reorder documents
  3. Drag and drop documents to reorder them. 
  4. Click Save changes

Delete document and file libraries 

To delete a library, perform one of the following: 

  • On Documents & Files page, select one or more libraries you want to delete and click Delete button in the toolbar. 
  • On Documents & Files page, expand the Actions button of the library you want to delete and then click Delete
  • On Edit a library page, click More actions » Delete.

A dialog box appears where you must confirm the deletion. 

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?