sharepoint folders: folders vs. metadata

34
SHAREPOINT FOLDERS: FOLDERS VS. METADATA Thomas Duff 11/19/2014

Upload: thomas-duff

Post on 04-Jul-2015

389 views

Category:

Technology


12 download

DESCRIPTION

It's easy to replicate the shared drive and file folder experience in SharePoint, but is it the best way to categorize and group your data? Not really... You can do so much more by using additional columns in your document library to create metadata for your documents, and then using views to sort, group, and filter your content.

TRANSCRIPT

Page 1: SharePoint Folders: Folders vs. Metadata

SHAREPOINT

FOLDERS: FOLDERS

VS. METADATA

Thomas Duff – 11/19/2014

Page 2: SharePoint Folders: Folders vs. Metadata

Agenda

What is Metadata?

Folders vs. Metadata comparison

Creating metadata columns in your Document

library

Creating views in your Document Library

Page 3: SharePoint Folders: Folders vs. Metadata

What is Metadata?

Think about metadata as attributes of an

object

Example: A book

The attributes could be the title, author, date of

publication, and subject.

In a document library, metadata is data about

the documents

The attributes (a.k.a. metadata) could be the year,

month, department, category and project).

Page 4: SharePoint Folders: Folders vs. Metadata

You’ve all seen (and done this)

Page 5: SharePoint Folders: Folders vs. Metadata

And your URL to get to the

document…

… is some long string with a number of folders to

drill down to the final physical location

http://yoursite.com/sites/SP2010/FolderMetaDataDemo/

Finance/2014/01/FinanceJan2014Assets.xlsx

FolderMetaDataDemo > Finance > 2014 > 01 > The

File

Page 6: SharePoint Folders: Folders vs. Metadata

This is bad because…

A URL string can only be approximately 255 characters long

If you move the document, that URL is no longer valid

Spaces and special characters in your URL count as three characters. Example – spaces become %20http://yoursite.com/sites/DuffTeamSite/Shared%20Documents/

Secondary%20Folder/Example%20Spreadsheet%2001.xlsx

This example takes twelve characters instead of four for the spaces

Page 7: SharePoint Folders: Folders vs. Metadata

This is bad because…

A document can only go into one folder

(category) even if it pertains to multiple folders

Contributors can create, delete, rename, and

move folders

Your document libraries can become a “Wild

West” of content and structure

Page 8: SharePoint Folders: Folders vs. Metadata

And worst of all…

You know, this

would look

better in year

order!

No, I *need* it

to be grouped

by Liabilities

and Assets!

You’re at the

mercy of

whoever

originally

created the

folder (and

categorization)

structure…

Page 9: SharePoint Folders: Folders vs. Metadata

It’d work so much better this

way…

Everyone can

view the library

in their own

way!

Page 10: SharePoint Folders: Folders vs. Metadata

Metadata fields

Additional columns in your Document Library

Choose columns you need for grouping and

sorting

Page 11: SharePoint Folders: Folders vs. Metadata

Here’s how you add metadata

columns

Go into Library > Library Tools > Library Settings to get to your Document Library

columns.

To create a new column of metadata, click on Create Column:

Page 12: SharePoint Folders: Folders vs. Metadata

Here’s how you add metadata

columns

Add a column name and type. If

you pick a choice field, add the

values you want the user to

choose from:

Page 13: SharePoint Folders: Folders vs. Metadata

Here’s how you add metadata

columns

When you click OK, you’ll see that you now

have a new column in your Document

Library:

Page 14: SharePoint Folders: Folders vs. Metadata

Here’s how you add metadata

columns

In this document library, I’ve added metadata columns

for Department, Report Year, Report Month, and Report

Type:

Page 15: SharePoint Folders: Folders vs. Metadata

Here’s a new document being

added

When you click Add Document to the bottom of the view,

you see a dialog box for picking a document to upload:

Page 16: SharePoint Folders: Folders vs. Metadata

Here’s a new document being

added

The next dialog box gives you the opportunity to add all

the metadata fields you have specified for this

Document Library:

Page 17: SharePoint Folders: Folders vs. Metadata

Here’s a new document being

added

Your document is now in the library complete with

metadata for view categorization:

Page 18: SharePoint Folders: Folders vs. Metadata

Creating views for your library

To create a new view, click the view dropdown and select Create View:

Page 19: SharePoint Folders: Folders vs. Metadata

Creating views for your library

You can either start with a standard view (based on the current default

view), or you can choose an existing view to start your new view:

Page 20: SharePoint Folders: Folders vs. Metadata

Creating views for your library

Give your view a name and choose what columns (and what order) you

want:

Page 21: SharePoint Folders: Folders vs. Metadata

Creating views for your library

Select the sort order for your view. Here I chose to sort by Report Year

(descending order) and Report Month (descending order):

Without metadata columns, I couldn’t sort or group without folders.

Page 22: SharePoint Folders: Folders vs. Metadata

Creating views for your library

Pick up to two columns for grouping data in your view. Also, if you have

already used folders in your view, select the Show All Items Without

Folders option:

Page 23: SharePoint Folders: Folders vs. Metadata

The finished product

Page 24: SharePoint Folders: Folders vs. Metadata

You can also filter views

By using the Filter options in the view, you can set the view to only show

certain items (like only items for the Claims department):

Page 25: SharePoint Folders: Folders vs. Metadata

If you’re adding metadata after the

fact

Datasheet views are useful for adding metadata to library items without

having to open each one up individually.

Page 26: SharePoint Folders: Folders vs. Metadata

If you’re adding metadata after the

fact

Pick a name and the columns you want to display:

Page 27: SharePoint Folders: Folders vs. Metadata

If you’re adding metadata after the

fact

Remember to choose the Show All Items Without Folders option:

Page 28: SharePoint Folders: Folders vs. Metadata

The finished product

You can now update the Department, Report Year, Report Month, and Report

Type by copy/paste, autofill, or selecting from the dropdown option menu:

Page 29: SharePoint Folders: Folders vs. Metadata

Another way to customize your

view

You can filter on multiple columns to see just the data you’re interested in:

You can even save the URL so you can get back to that filtered view:

http://yoursite.com/sites/SP2010/FolderMetaDataDemo/Forms/All%20Docume

nts%20No%20Folders.aspx?View={2B181F00-A1C5-4286-8E4C-

8D363C17DC79}&FilterField1=Report%5Fx0020%5FYear&FilterValue1=201

4&FilterField2=Report%5Fx0020%5FMonth&FilterValue2=04

Page 30: SharePoint Folders: Folders vs. Metadata

Moving from folders to

metadata

Examine how you have things grouped by folders

Decide what metadata fields you need to create along with what values they need

Set the metadata fields up in the library

Create a datasheet view to populate the metadata fields

Once all the metadata fields are populated, use Open In Explorer to move the documents from the folders to the main Document Library root location

Remove the ability to create folders in that library

Page 31: SharePoint Folders: Folders vs. Metadata

Keeping folders from

reappearing

Go to Library > Library Tools > Library

Settings under the Advanced option.

Make sure the “Make ‘New Folder’ command

available?” option is set to No.

Page 32: SharePoint Folders: Folders vs. Metadata

Sharing metadata columns across

libraries

If you need to share specific metadata

columns across libraries, you can use Site

Columns

Site columns are created at the Site level and

you can add them to libraries

Great for Choice fields where you want to have

consistent values across libraries

Talk with someone in the SharePoint Support

team if you want more information or help in

implementing them

Page 33: SharePoint Folders: Folders vs. Metadata

Are folders always bad?

There are some reasons when they make

sense

Can’t get people used to the metadata concept

Permissions can be applied to folders and

inherited by documents (but you can also set up

separate document libraries in your site for this

situation)

Bottom Line: Folders should be the exception, not the

rule.

Page 34: SharePoint Folders: Folders vs. Metadata

Questions?

Thanks for attending!