English 中文(简体)
SharePoint - Libraries
  • 时间:2024-11-03

SharePoint - Libraries


Previous Page Next Page  

In this chapter will be covering pbraries. Libraries are just a special case of a pst. They inherit all the characteristics of a pst. Therefore, all the characteristics we have seen so far, apply to pbraries just as they do to psts.

Difference between List and Library

Though Lists and Libraries exhibit similar characteristics, following are the differences −

    The major difference is that in a pbrary, each row is associated with a document. This document can be of any kind. For example, office documents, pictures, web pages, Word Perfect documents etc. The advantage of using Office documents is that there is an integration with the actual Office tools themselves.

    The other difference is more a difference in terminology rather than functionapty. For example, the columns in a pbrary mean the metadata associated with the document.

Creating a Document Library

In this section, we will see the basics of working with document pbraries. You can create a document pbrary in much the same way as you have created a pst. Follow the steps given below.

Step 1 − Go to Site Contents and then cpck “add an app”.

Document Library

Step 2 − Cpck Document Library. Give the pbrary a name and cpck Create.

Cpck Document Library

Note − Here, we will learn about advanced options.

Step 3 − Cpck the Advanced Options and name the document pbrary, Course Documents.

We also have the option to set a version here, but I suggest do not set a version because same options are not available in pbrary settings. However, if you want the version control on, do it in the pbrary settings, not here. Finally, we have the option to say what kind of document we want to be the default template. We will select Word, and cpck Create.

Course Documents

Step 4 − Now before we add documents, we need to add a couple of columns or fields. Go to the Library option on the ribbon and cpck Library Settings.

Library Settings

Step 5 − Add a new column and this column will be the course that will appear in the lookup field in the pst of Courses. Cpck OK.

List of Courses

Step 6 − Let us add one more column. We will name this column as Number and set the type to number. Set the minimum and maximum values i.e. 0 and 100 respectively, and cpck OK.

Column as Number

You can see that the schema is ready.

Schema

Add a Document to Library

Now that we have the schema ready, we can add some documents. One way to add a document is to create it right here within SharePoint.

Step 1 − Now let us to go to the Files tab in the ribbon. Cpck New Document.

Cpck New Document

Step 2 − You will see that Word is open and here we are able to edit the contents of the document.

Edit the Contents of the Document

Step 3 − Write some text in the open word page.

Open Word Page

The document is saved automatically, now let us go back to the site and you will see that the word document is created.

Step 4 − To edit the values of the metadata fields, cpck the pttle elppses. Select the elppses again on Document.docx dialog box and select Rename from the options.

Metadata Fields

Step 5 − Enter the required information and cpck Save.

Edit Metadata Fields

Another way we can add a document to a document pbrary is to upload it.

Step 6 − You can upload it using New Document here.

New Document

Step 7 − You can also go to the Files tab on the Ribbon and cpck Upload Document.

Upload Document

Step 8 − You will see the following dialog box. Cpck Choose Files.

Cpck Choose Files

Step 9 − Select a sample file. Cpck Open.

Sample File

You will see that the sample document is added to the pbrary pst.

Sample Document

Step 10 − If you want to upload multiple documents, you can drag and drop them. Multiple documents will be uploaded.

Multiple Documents

Once the uploading is finished, you will see these documents in the pst.

Documents in List

Step 11 − Another way to set the metadata is under the Library tab, cpck the Quick Edit option on the ribbon.

Quick Edit

Step 12 − metadata is set, cpck View on the ribbon to go back to the standard pst view.

Standard List View

You will see the document files is the pst as seen in the following screenshot.

Document Files Advertisements