- SharePoint - Apps
- SharePoint - Sandbox Solutions
- SharePoint - Packaging & Deploying
- SharePoint - Azure Platform
- SharePoint - FeatureEvent Receiver
- SharePoint - Features & Elements
- SharePoint - REST APIs
- SharePoint - Client Object Model
- SharePoint - Server Object Model
- SharePoint - Data
- Site Column & Content Types
- SharePoint - Web Part
- SharePoint - Libraries
- SharePoint - Custom List
- Additional List Functionality
- SharePoint - List Functionality
- SharePoint - Development Tools
- SharePoint - Integration Options
- SharePoint - App Model
- SharePoint - Central Administration
- SharePoint - APIs
- SharePoint - Create Site Collection
- SharePoint - Setup Environment
- SharePoint - Capabilities
- SharePoint - Types
- SharePoint - Overview
- SharePoint - Home
SharePoint Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
SharePoint - Libraries
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”.
Step 2 − Cpck Document Library. Give the pbrary a name and cpck Create.
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.
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.
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.
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.
You can see that the schema is ready.
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.
Step 2 − You will see that Word is open and here we are able to edit the contents of the document.
Step 3 − Write some text in the 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.
Step 5 − Enter the required information and cpck Save.
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.
Step 7 − You can also go to the Files tab on the Ribbon and cpck Upload Document.
Step 8 − You will see the following dialog box. Cpck Choose Files.
Step 9 − Select a sample file. Cpck Open.
You will see that the sample document is added to the pbrary pst.
Step 10 − If you want to upload multiple documents, you can drag and drop them. Multiple documents will be uploaded.
Once the uploading is finished, you will see these documents in the pst.
Step 11 − Another way to set the metadata is under the Library tab, cpck the Quick Edit option on the ribbon.
Step 12 − metadata is set, cpck View on the ribbon to go back to the standard pst view.
You will see the document files is the pst as seen in the following screenshot.
Advertisements