Chapter 5. List and library essentials

In this section:

Organizations rely on accessing pertinent information so they can respond quickly to business needs. Microsoft SharePoint 2013 offers true document-management capabilities and is all about sharing information through apps called lists or libraries.

A list is a collection of like items, such as contact information, calendar events, or inventory items. Similar to a database table, each list contains data that you enter yourself or import from another source. You control how the information is displayed and who has access to either view or manipulate that data. SharePoint provides a central location for team members to access current, accurate, and relevant data.

You can create a custom list that describes the information that you want to capture, or use standard templates that come out of the box. SharePoint 2013 comes with several lists for collecting different kinds of information, such as tasks, announcements, contacts, and links, just to name a few.

Using your apps

Microsoft has included a new application development model in SharePoint 2013 called the SharePoint app. Certainly, we’ve all become familiar with the phrase, “There’s an app for that.” Well, now SharePoint can say the same. These self-contained web applications can come out of the box or be downloaded from Microsoft’s SharePoint Store. Apps provide users with a way to access existing applications that others have already built rather than building them from scratch. Lists and libraries are apps as well as being other useful mini programs.

Perhaps you want to highlight a “Tip of the Day” section on your SharePoint site or implement a Timesheet in which employees can enter their project hours. You can download these apps from the SharePoint Store for free instead of hiring a developer to design and implement it!

Add an app on SharePoint

  1. In the upper-right corner of the window, click the Settings icon (the small gear graphic).

  2. On the menu that appears, click Add An App.

    image with no caption
  3. Click the app that you want to add to your site.

    image with no caption
  4. Enter a name for the new app.

  5. Click Create.

    image with no caption

Tip

You can read a brief description of each app by clicking the App Details link, which is located below the app’s icon, on the Apps You Can Add page.

Add an app from the SharePoint Store

  1. In the upper-right corner of the window, click the Settings icon.

  2. On the menu that appears, click Add An App.

    image with no caption
  3. On the Your Apps page, on the Quick Launch bar, click SharePoint Store.

    image with no caption
  4. Click the app that you want to add to your site.

    image with no caption
  5. Click Add It, Buy It, or Try It.

    image with no caption
  6. If the app requests trust confirmation, follow any instructions that are presented and then click either Trust It or Cancel.

    image with no caption

Tip

You must be a Site Owner or have Full Control permissions to add apps from either the SharePoint Store or an App Catalog.

Creating and deleting lists

Although SharePoint 2013 provides you with several lists and libraries based on commonly used templates, you’ll likely need to customize your list to suit your needs. Perhaps you need a way to display employee vacations or track open issues—SharePoint makes this possible with just a few clicks. To keep your site clean, you’ll want to get rid of unused or obsolete lists, as well.

Create a list or library

  1. In the upper-right corner of the window, click the Settings icon, and then, on the menu that appears, click Add An App.

    image with no caption
  2. On the Your Apps page, under the Noteworthy section, select either Document Library or Custom List. For this example, the Custom List app is used.

    image with no caption
  3. In the Adding Custom List dialog box, enter a name for your list (or library).

  4. Click Create.

    image with no caption

Tip

A library is actually a list that stores documents instead of information alone.

Tip

When naming your list, use underscores (_) in place of spaces between words or omit spaces between words altogether. This helps to keep the assigned URL clean. If you want to rename your list after you create it, go to the List Settings and then, in the General Settings section, click List Name, Description And Navigation. There, you can edit the name of your list to include spaces.

Delete a list or library

  1. Hover over the list or library that you want to delete and then click the drop-down menu icon (...).

  2. On the menu that appears, click the Settings link.

    image with no caption
  3. On the Settings page, under the Permissions And Management section, click Delete This List (or Delete This Library).

    image with no caption
  4. In the pop-up message box, click OK to confirm that you want to send the list to the Recycle Bin.

    image with no caption

Try This

Practice creating a custom list titled New List and then delete it.

Adding and editing list items

After creating a list, you’ll want to populate that list with the information for which it was designed. Each row in your SharePoint 2013 list is called a list item. SharePoint can support up to 30 million items in one SharePoint list! Depending on your permission level, you can create, edit, and delete items.

You can also attach documents or items to a list item. For instance, it would be practical to attach a menu to a restaurant list or an agenda to a calendar item. By default, SharePoint supports including attachments to list items; however, you can turn off this feature on the Settings page for the list, if you’d like.

Add a list item

  1. On the Quick Launch bar, click Site Contents.

  2. On the Site Contents page, click the list to which you want to add items.

    image with no caption
  3. In the list, click New Item.

    image with no caption
  4. On the list’s Edit page, click with the mouse or use the Tab key to move through the item fields, entering data as required or as you see fit.

  5. Click Save.

    image with no caption

Tip

SharePoint automatically assigns a sequential ID number to each new item, eliminating the need for you to assign it manually.

Tip

A blue asterisk indicates a required field for which you must provide information before the list item can be saved.

Edit a list item

  1. On the Quick Launch bar, click Site Contents.

  2. Click the list in which you want to edit items.

    image with no caption
  3. Click Edit above the list items.

    image with no caption
  4. Click the mouse or use the Tab key to navigate between and edit the item fields.

  5. Click the mouse or use the Tab key to select a different field; the changes are automatically saved.

  6. When you’re done making changes, click Stop above the list items.

    image with no caption

Try This

Attach a file to your item by going on the ribbon and clicking Attach File.

Tip

Most drop-down commands are also available on the ribbon on the Items tab.

Deleting and restoring list items

It’s possible that a user will want to retrieve a deleted item. SharePoint 2013 provides an easy way to restore that deleted item back to its original location.

Deleted items will remain in the site collection’s Recycle Bin for 30 days. If you delete an item from your Recycle Bin, you can request that your Site Collection Administrator restore the item back to its original location for you, as long as the item hasn’t exceeded 30 days from the original deletion date.

Delete a list item

  1. On the Quick Launch bar, click Site Contents.

  2. Click the list from which you want to delete items.

    image with no caption
  3. Hover over the item that you want to delete and then click the menu drop-down icon (...).

  4. On the menu that appears, click Delete Item.

    image with no caption
  5. In the pop-up message box, click OK to confirm that you want to send the item to the Recycle Bin.

    image with no caption

Try This

Delete multiple items by using the Edit command and highlighting multiple rows with your mouse. Then, click Delete.

Restore a deleted item

  1. On the Quick Launch bar, click Site Contents.

  2. On the right side of the Site Contents page, click Recycle Bin.

    image with no caption
  3. On the Recycle Bin page, select the check box to the left of the item that you want to restore.

  4. Click Restore Selection.

    image with no caption

Try This

Delete a list or library and then restore it.

Creating list columns

SharePoint 2013 provides several templates for common list types, such as Announcements, Calendar, Contacts, and Tasks. These templates can be used and then customized so that you don’t have to create a new list from scratch. Create additional columns to suit your list or library’s purpose.

Create a column

  1. In a list, above the list items, click Edit.

    image with no caption
  2. To the right of the column headings, click the Add button (the “+” sign).

  3. On the menu that appears, click More Column Types.

    image with no caption
  4. In the Column Name text box, enter a name for the column.

  5. Choose the type of information that the new column will store.

    image with no caption

    Tip

    To work with columns, you must have Designer or Full Control permissions.

    Try This

    SharePoint includes several predefined columns. Instead of creating a new column, choose to add from existing site columns when editing list column settings.

  6. In the Additional Column Settings dialog box, you can also optionally edit the following column settings:

    • Description. What you enter here displays under the field when the user is editing the form.

    • Require That This Column Contains Information. Select Yes to require data to be entered in this field.

    • Enforce Unique Values. Select Yes to require that each value in this column be unique in this list.

    • Maximum Number Of Characters. This determines the maximum number of characters that can be entered in this field.

    • Default Value. Any text entered here will be the default column entry when a new item is created.

    • Add To Default View. Select this check box to add this column to the default view of this list.

    • Column Validation. Use rules to accept or reject information entered in this column based on defined criteria.

  7. Click OK.

    image with no caption

Editing and deleting list columns

After you’ve created new columns for your list or library in SharePoint 2013, you might change your mind about the column name or data type. You might want to require that information is entered in a field or include a different default value. You can also delete columns that are no longer necessary.

Edit column settings

  1. On the List tab, in the Settings group, click List Settings.

    image with no caption
  2. On the List Settings page, in the Columns section, click a column title.

    image with no caption
  3. Make the desired Column changes and click OK.

    image with no caption

Caution

If you change your mind about the Type for a column, you’ll find that not all Types are available when you go back to edit it. In this case, your only alternative is to delete the column and create a new one with the correct Type.

Delete a list column

  1. On the List tab, in the Settings group, click List Settings.

    image with no caption
  2. On the List Settings page, in the Columns section, click a column title.

    image with no caption
  3. Click Delete.

    image with no caption
  4. In the pop-up message box asking you to confirm the deletion, click OK.

    image with no caption

Tip

The Title column included in SharePoint lists is a required column, it cannot be deleted. If the Delete button is not displayed in the settings for the column, this indicates that the column is a required column in this list.

Caution

Deleting a column also deletes the data in that column. Before deleting a column, consider exporting the list to Microsoft Excel to back up the information. This can be done by clicking Export To Excel in the Connect & Export group of the List’s ribbon.

Using list and column validation rules

Being that we’re human, entries are bound to contain formatting errors. A SharePoint 2013 feature uses validation rules to accept or reject the entered information based on defined criteria. Rejected information needs to be corrected by the user before the item can be saved in the list. Validation rules exist on individual columns as well as the list level. SharePoint evaluates column rules before evaluating list level rules.

Validation rules are only available on the following column types: Single Line Of Text, Choice, Number, Currency, and Date/Time.

Add a validation rule to a column

  1. On the Library tab, in the Settings group, click Library Settings (or List Settings on the List tab).

    image with no caption
  2. On the Library Settings page, in the Columns section, click a column title.

    image with no caption
  3. Scroll down to Column Validation and click the plus sign (+) icon next to Column Validation to expand the section.

    image with no caption

    Tip

    For more information on column validation, click the SharePoint Help button (the question mark in the upper-right corner of a site) and then type formula as a search phrase.

  4. In the Formula text box, enter a validation formula.

  5. In the User Message text box, enter a message to display if the information entered in the field is not valid.

  6. Click OK.

    image with no caption

Add a validation rule to a list

  1. On the List tab, in the Settings group, click List Settings.

    image with no caption
  2. On the List Settings page, in the General Settings section, click Validation Settings.

    image with no caption
  3. In the Formula text box, enter a validation formula.

  4. In the User Message text box, enter a message to display if the information entered in the field is not valid.

  5. Click Save.

    image with no caption

Sorting and filtering lists

Information in lists can be organized and displayed by using views. Views can be created and modified to specify which fields are displayed, the column order, how they are sorted, and whether the information is filtered and/or grouped. SharePoint 2013 provides several formats for displaying views, as well, such as Standard and Datasheet views. Standard views support dynamic sorting and filtering directly in the column headers, whereas Datasheet views give users the option to enter data as a batch instead of entering one list item at a time. Here, you’ll learn how to manually sort or filter a Standard view.

Sort a list

  1. Hover your mouse pointer over the title of the column by which you want to sort.

    image with no caption
  2. Click the drop-down arrow to the right of the column title.

  3. On the menu that appears, click either Ascending (A on Top) or Descending (Z on Top).

    image with no caption

See Also

To sort on more than one column, you need to configure a list view. See Create a list view.

Tip

If a column is sorted, a small up arrow or down arrow (depending on whether the column is sorted in ascending or descending order) displays to the right of the column title.

Filter a list

  1. Hover your mouse pointer over the title of the column that you want to filter.

    image with no caption
  2. Click the drop-down arrow to the right of the column title.

  3. On the menu that appears, select the check boxes adjacent to the information that you want to include in the filter.

  4. Click Close.

    image with no caption

Tip

If a column is filtered, a small funnel icon displays to the right of the column title.

Try This

Clear the column filters by clicking the small funnel icon and then, on the menu that appears, click Clear Filters From column.

Creating and selecting a list view

SharePoint 2013 provides users with flexible ways to display their list information by using views. You control which fields appear in each list, the field order, as well as filtering or sorting on multiple columns. Additionally, information can be grouped to collapse or expand for a treelike view. Users can determine whether their configured views are available to all users or just themselves, and can be defined for mobile devices. If a preferred view of the list data already exists but is not the default view, SharePoint 2013 makes it easy to switch to that view.

Create a list view

  1. Click the drop-down menu icon (...) above the list headings.

  2. On the menu that appears, click Create View.

    image with no caption
  3. On the View Type page, click Standard View.

    image with no caption

    Tip

    Only include relevant columns to reduce the amount of columns visible on your screen. All fields are visible when you click the link to the item.

    Tip

    Instead of creating a new view from scratch, use the Start From An Existing View option when choosing to create a new view and make modifications.

  4. On the Create View page, in the View Name text box, enter a unique name for the view.

  5. Select the Make This The Default View check box to make this new view the default view.

  6. In the View Audience section, choose to make the view Personal (for your use only) or Public (available to all site users).

  7. In the Columns section, you can perform two activities:

    • Select the check box adjacent to the columns that you want to display in the view; clear the check boxes adjacent to the columns that you want to hide.

    • Order the columns sequentially from left to right by selecting numbers in the Position From Left column.

    image with no caption
  8. At the top or bottom of the page, click OK.

Select a list view

  1. Click the drop-down menu icon (...) above the list headings.

  2. On the menu that appears, click the view that you want to display.

    image with no caption

Tip

Three view links are available above the list’s columns, available for quick toggling.

Sorting or filtering a list view

If you find yourself continuously filtering the default view to meet your needs, why not eliminate that time by creating alternate views that you’ll access often? Here, you’ll learn how to modify views by using the sort and filter features.

Sort a list view

  1. Click the drop-down menu icon (...) above the list headings.

  2. On the menu that appears, click Modify This View.

    image with no caption
  3. In the Sort section, you can perform two activities:

    • Click the drop-down list and select the First Sort By The Column.

    • Select whether you want that sorted column in ascending or descending order.

  4. If you don’t want folders to appear before items, select the Sort Only By Specified Criteria check box.

    image with no caption
  5. At the top or bottom of the page, click OK.

    image with no caption

Tip

Folders will appear before list items by default. If the Sort Only By Specified Criteria option is selected, the folders will appear in the assigned sort order along with the items.

Filter a list view

  1. Click the drop-down menu icon (...) above the list headings.

  2. On the menu that appears, click Modify This View.

    image with no caption
  3. In the Filter section, click the Show Items Only When The Following Is True option.

  4. To enter filter criteria, do the following:

    • Select a column on which to filter from the first drop-down menu.

    • Select a condition from the second drop-down menu.

    • Enter a value in the text box.

  5. Select And or Or to enter additional filter criteria.

  6. To filter on more than two criteria, click Show More Columns.

    image with no caption
  7. At the top or bottom of the page, click OK.

image with no caption

Try This

Filter on items by using the Created By criterion and then enter the value [Me].

Organizing items by using folders

In SharePoint 2013, you can create folders to organize your lists, similar to creating folders on your computer. However, for the purposes of organizing information, adding a folder in a list can interrupt the display of the captured information.

You could use SharePoint to organize a Class Schedule listing different Classes, Class Times, and Costs to view at a glance. It would be helpful to have a folder for Class Descriptions for this scenario. Preparing an efficient organizational strategy ahead of time to locate, process, and manage your information is always a best practice.

Create a folder

  1. On the Quick Launch bar, click Site Contents.

  2. On the Site Contents page, locate the list or library in which you want to create a folder.

    image with no caption
  3. On the ribbon, click the Items tab of a list, or the Files tab of a library.

  4. Click New Folder.

    image with no caption
  5. In the Create A New Folder dialog box, enter a folder name.

  6. Click Save.

    image with no caption

Tip

If the New Folder option isn’t available, the feature needs to be turned on. On the Library Settings tab, click Advanced Settings and then, under the Folders section, click Yes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.138.178