添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

From my posts, you probably already know that I am a huge advocate and proponent of metadata in SharePoint. The major limitation that exists in SharePoint is that you can only assign metadata to the file and not a folder. If you try to tag a folder in SharePoint – you are out of luck. However, there are a few tricks in the book if you do want to assign metadata to folders, and that is what this post is all about. Now, some of these tricks are more of workarounds and not the real ways to tag a folder. Other than Option # 4 , all of the options described below are “gimmicks.” I am generally a modest Jewish guy, but today, I will be a bad boy and share with you some of those “undocumented” tricks on how to tag folders with metadata in SharePoint. Psst, don’t tell anyone.

What is the problem with folder metadata?

If your document library has custom metadata columns and you try and tag the file – you get a document information panel where you can assign metadata to the file.

But, as mentioned above, there are a few cool workarounds that will help you tag folders with metadata in SharePoint, each with pros and cons, so here are your options.

Option 1: Quick Edit

While you can’t tag folders with metadata in SharePoint via a Document Information Panel I mentioned above, you can easily do so via Quick Edit function.

  • Navigate to the document library where you have folders and custom metadata
  • In the ribbon above the library, click Quick Edit
  • Related to the above, you could have one metadata value at the folder level and completely different metadata at the file level – this might lead to confusion.
  • Option 2: Custom Content Type

    Another way to “tag” folders with metadata is to create a custom content type based on folders. So instead of the “regular” folder, you will be tagging a new custom content type we will create. Here is how to do this:

  • Gear Icon > Site Information
  • Click OK at the bottom of the page
  • Honey, we are almost there, hang on with me for another minute
  • Next, under Content Types section (this is the section that appeared once we allowed content types in Step 11), click on Add from existing site content types
  • Allows you to “tag” folders with metadata
  • Allows user to filter folders with metadata, just like files
  • A bit of elaborate setup. Almost redundant if you opt for Document Sets (Option 4) below.
  • You have to create all new folders via this custom content type ( New drop-down button). If the user drags (uploads) a folder from the desktop to SharePoint – it will be a “regular” folder that cannot be tagged. However, the user will be able to re-associate a “regular” folder and make it a custom content type folder in the Document Information Panel.
  • Just like with Option 1, folder metadata does not propagate to the files underneath, and as a result, you can also end up with different metadata values at the folder level and the file level underneath.
  • Option 3: Column Default Value Settings

    Technically speaking, this trick does not allow the user to assign metadata to folders themselves.  But it does allow us to specify which metadata will be assigned to the files dropped into the folders. The technique I am talking about is called Column Default Value Settings . I documented step-by-step instructions on it in this post .

  • Technically, not folder-level metadata – but close to the concept
  • All the numerous cons I listed in the original post on this technique
  • Option 4: Document Sets

    The only correct way to assign metadata to folders is to use document sets . Just like the trick above, you will be creating a custom content type, but it is a unique content type that exists in SharePoint and a pretty darn good one! In one of my earlier posts, I called Document Sets – the hidden gem of SharePoint . And there is a reason for this. Not only you will be able to assign metadata to folders, but you will also be able to propagate this metadata to the files underneath (which makes total sense).

    I described in greater detail how to set up Document Sets in this post .

    About Me

    I’m Greg Zelfond, a U.S. based SharePoint consultant, and I provide affordable out-of-the-box SharePoint consulting, training, and configuration assistance to small and medium-sized businesses all over the world.

    Need help?

    3 ways to tag content in SharePoint and Microsoft 365

    If you have been following my blog for a while, I am pretty sure by now you know that I am a huge fan of metadata. When we think about…

    Read More

    Why it is not a good idea to mix folders and metadata in the same document library

    As you know from my blog posts, I am a huge fan of metadata. I have many clients who successfully transitioned to metadata for some of the content they migrated…

    Read More

    How Law Firms can organize cases and matters in SharePoint

    I have worked with many law firms, helping them transition from file shares to SharePoint. They are one of my favorite types of clients. First of all, every time I…

    Read More

    I’m Gregory Zelfond, the SharePoint Maven.

    As a SharePoint Consultant for more than 10 years, I have helped countless businesses and nonprofits to use SharePoint to facilitate team collaboration, simplify project management, and streamline document management. From creating simple but intuitive intranet portals to developing project management team sites and document management systems, I develop SharePoint solutions that help you get things done quickly and accurately.

    Learn more