4. Organising files with a metadata column
A library with three folders works fine as long as every file fits into exactly one folder. That works until a file belongs in two folders. A quotation with a placement drawing in it: is that a quotation or a drawing? Whoever saves it picks one folder, and whoever looks for it checks the other. With a metadata column you don't have to make that choice. You give each file a fixed value in a column of its own, and you filter and group on that.
After this chapter:
- You can explain what metadata is and why a column sometimes works better than a folder.
- You know when a folder is enough and when a separate library is needed.
- Create a Document type choice column in a library.
- You enter the values via the details pane and the grid view.
- You group the library by that column and save it as a view.
Why folders fall short
A file is always in exactly one folder. That is the whole problem. Folders force you to choose a single attribute: document type, product line, supplier or phase. If you choose by type, the quotes from Silens end up between those from Ergo and Modul. If you choose by product line, the Silens folder contains quotes, drawings and schedules all mixed together. And anyone who solves that with folders within folders ends up four levels deep.
Ad hoc labels in the file name don't help either. Ahmed writes "Offerte", Femke "offertes" and Ruben "OFFERTE Silens". SharePoint sees these as three different words, and a filter on one of them misses the other two. It is the same problem as the text status column from chapter 3.
Ruben Peters is looking for the quotation for the acoustic panels in the hall in Zwolle. He opens the Quotations folder and finds three files: Offerte Kantoorplan Utrecht.pdf (Ergo desk chairs), Offerte akoestiek kantine.pdf and Offerte Modul magazijn.pdf. The second is from Akoestiek Noord, the same supplier, but is about panels for the canteen in Utrecht. Ruben assumes this is the right one, and carries on calculating for an hour with the wrong quantities.
The quote he was looking for is in the Drawings folder, as "Silens panelen hal Zwolle offerte en plaatsing.pdf". Akoestiek Noord had put the quote and the installation drawing in one file, and whoever uploaded it chose Drawings. With a Document type column, that file would have had the value Quote, and with a second column, Product line, the value Silens. Grouped by Document type, Ruben would have seen four quotes instead of three, and filtered on Silens, exactly the right one.

Recording metadata in a column
Metadata is information about a file: what type of document it is, which product line it belongs to, who approved it. A metadata column is a column that you add to a library yourself to record that information in a consistent way. Each file gets a value in that column, just as each list item gets a value in a column of a list.
For a metadata column you will usually choose the Choice column type, so that everyone picks from the same list. For the Project documents library, a Document type column is useful, with the choices Project plan, Planning, Quotation and Drawing. A colleague who uploads a new quotation chooses Quotation and does not need to think about spelling. A file can have several metadata columns: a quotation for acoustic panels gets the Document type Quotation and, if you also create that column, the Product line Silens.
Folders and metadata work well together. The folders provide a rough structure, and the column makes filtering and grouping possible. You do not have to get rid of your folders to start using a column.
Folder, column or a separate library
There is a third option: a separate library on the same site. A folder is lighter and inherits all the settings of the library, such as columns, version control and permissions. You create a separate library when documents really need to be treated differently. At Nolando there are three examples of this. Drawings of the hall get their own Revision column, which makes no sense for quotations. Only Sanne de Boer and Ahmed Bouzid may view supplier contracts. And the team wants to make check-out mandatory for one type of document and not for the rest.
A library for every minor matter turns the site into a mess. If you put everything in one library, you get stuck as soon as documents need different columns or permissions. The rule of thumb: different permissions or different settings means a separate library, organising in a different way means a column, and rough categorisation means a folder. You add a library as the site owner; this is covered in the course.
Creating the Document type column
- You open your team site and click Projectdocumenten in the left-hand navigation.
- Click + Add column to the right of the last column heading.
- You select Choice and click Next.
- In the Name field, type Documenttype.
- You replace the sample values with Projectplan, Planning, Offerte and Tekening, each in its own box.
- Click Save.
The column appears in the library straight away. Existing files do not have a value yet; you fill those in afterwards.
Filling in values
For a single file you use the details pane, a panel on the right of the screen with all the information about the selected file, including your new column.
- You select the file using the circle to the left of the name.
- In the command bar at the top right, you click Details.
- Under Properties, you click in the Document type field and choose the right value from the drop-down list.
SharePoint saves the change immediately; a Save button is not needed. If you need to fill in many files at once, Edit in grid view in the command bar is quicker. The library then turns into a table in which you make a choice on each row, just like with the list in chapter 3. After the last row, you close grid view again.
Grouping and saving a view
You only notice the benefit once the column is filled in. You click the column header Document type and choose Group by Document type. The library splits into blocks: all the quotations together, all the drawings together. If you want to see this more often, you save it as a view: you click the view button All documents on the right of the command bar, choose Save view as and type, for example, By document type. As with a list, you leave the default view alone.
1. Sanne creates the Document type column and fills it in for the project plan in the root folder. In the Planning folder, she selects Planning in grid view for Planning hal Zwolle.xlsx, and in the Offertes folder she selects Quote for the quotes. She then goes back to the root folder, groups by Document type and expects to see all the quotes together. She sees two groups: Document type: Unassigned (3) with the three folders, and Document type: Project plan (1) with the project plan.
Nothing went wrong. Grouping and filtering work within the folder you are in. In the root folder you therefore do not see the files from the Offertes and Planning folders in the groups; if you open the Offertes folder, you do. And the folders themselves have no Document type, so they end up in Unassigned. If a file ends up there later, that is a signal: someone forgot to fill in the column. Sanne therefore checks that group once a week. For a project team with a handful of folders, that is enough. If you want to see everything in one view, eventually drop the folders and organise only with columns.
Under More options, below the window in which you create the column, is the switch Require that this column contains information. If you turn it on, a file without a Document type gets a message saying that required information is missing. This only makes sense if the team really pays attention to it. Otherwise colleagues quickly get used to the message and ignore it.
A more advanced form of metadata is called Managed metadata. For this, a Microsoft 365 administrator sets up a central term list for the whole organisation. For a project team, a choice column almost always covers what you need.
You choose a library in your own team in which files are kept in folders.
- You look for a file that would just as easily have fitted in another folder, and note which characteristic determines the second folder.
- You come up with four or five values for a Document type column that cover every file in that library, without an Other value.
- If you are allowed to edit the library, you create the choice column and fill it in for one folder, using the grid view.
- You group that folder by the new column and save it using Save view as.
If you cannot manage without Other, you probably need two columns instead of one.
Sorting in a row
- A file is in exactly one folder, but can have a value in several columns.
- A metadata column is usually a choice column, so that everyone uses the same spelling.
- Different permissions or settings call for a separate library; otherwise a folder or a column is enough.
- You fill in values via Details or, for many files, via Edit in grid view.
- Grouping works within the folder you are in; Unassigned means the value is missing.
- You save a grouped library with Save view as, under a name of its own.
What can a metadata column do that a folder cannot?
Only Sanne and Ahmed may view supplier contracts. Where do you put them?
You group by Document type in the root folder and do not see the quotations. Why is that?
Ready for the next step?
You have completed the free starter of SharePoint Basics. The next chapter in the full training course is Setting up a site: An extra team site or an extra library, Site contents as an overview, creating a team site, adding apps and setting the name, description, logo and theme.
Take the 1-day training course →From €525,- excl. VAT · with an experienced trainer included