Forum Discussion

shawn_fielding's avatar
shawn_fielding
Iron Contributor
Sep 20, 2019

Forcing the addition of required metadata in file upload to Teams

Hi all,

 

So, when we upload files to SharePoint, we have mandatory metadata fields that we must fill in, for multiple reasons.  Right now uploading to Teams just... uploads.  Is there a way to force the user to input metadata fields when uploading to Teams?  I know we cannot see additional metadata fields in Teams, but that is sort of okay with us, as long as the files GET the metadata fields we need.  Thoughts?

 

  • Nope not possible and won’t be either when new files tab comes out. You can have views to encourage required metadata but that’s about it in the modern UI.

    You can force a classic view library and use the website tab in teams to point to it which will force metadata but that’s only work around I can think of.

    You could also have a flow nag people about missing metadata by sending a daily list of files with missing metadata and linking them to the files missing metadata view filtered to files their created etc. as well.
  • Nope not possible and won’t be either when new files tab comes out. You can have views to encourage required metadata but that’s about it in the modern UI.

    You can force a classic view library and use the website tab in teams to point to it which will force metadata but that’s only work around I can think of.

    You could also have a flow nag people about missing metadata by sending a daily list of files with missing metadata and linking them to the files missing metadata view filtered to files their created etc. as well.
    • shawn_fielding's avatar
      shawn_fielding
      Iron Contributor

      Could you use Flow during the upload of a file to require people to add metadata?

       

       

      • ChrisWebbTech's avatar
        ChrisWebbTech
        MVP
        Flow wouldn't be a great solution. I mean, you could send e-mail saying that "The document you uploaded needs metadata" and a link to the page to edit that metadata if you wanted. But this could get ugly if they upload a bunch of documents.
  • Kelly_Edinger's avatar
    Kelly_Edinger
    Bronze Contributor

    Hi shawn_fielding - what about using folders w/your metadata and use the column autotagging feature in library settings? Not as flexible, but could force a few columns worth of tags as docs are uploaded to certain folders.

    • shawn_fielding's avatar
      shawn_fielding
      Iron Contributor

      Kelly_Edinger, This might actually work for records retention (though it might be hard to keep up with folders created).  But for document types and topic taxonomy facets, I'm not sure it would help much.  But not a terrible idea to explore.

  • This is by design, Teams does not force metadata and the same happens if you upload the files through the SPO UI
    • shawn_fielding's avatar
      shawn_fielding
      Iron Contributor

      jcgonzalezmartin Huh, this is an strange choice to not allow it at all, since metadata often controls records retention and is the method in which a taxonomy is utilized.  At the very least, wouldn't this cause a violation of records management practices in most organizations?  I can see the option of doing it or not, but it almost seems dangerous not to have the option.  Hope it comes along in future dev.

Resources