Skip to main content
< All Articles

How to clear SharePoint properties from a document prior to sharing externally

Posted on April 7, 2022
SharePoint

Today I would like to share a quick tip that might be worthwhile implementing if you are concerned about privacy and security. It has got to do with the metadata properties of the document. Specifically, I will discuss the need to clear SharePoint properties of the documents when you share them externally. Let me explain.

Use Case

  • You have a document library with a bunch of documents
  • Doc Library has been set up with custom metadata
  • Metadata columns could be anything, but for this post, let’s say we store Proposal documents with the following metadata fields: Amount (Currency Type), Person Responsible (People Type), Comments (text with multiple lines of text)
  • The Library contains proposals the company is sending to clients for a certain scope of work
  • The library is meant for internal consumption only, but the site does have the ability to share externally
  • Users share individual documents externally as it is necessary to collaborate/obtain input from the client as well

Step 1: Users share a file externally

I documented previously how to share the files and folders externally, but the screenshot below also captures all the steps for you.

Step 2: Experience for the external recipient

The external user receives the document and can obviously read and edit its contents.

However, here is another thing the external user can do as well:

  1. If the user navigates to the folder, the file was shared from…
  2. The user will now be able to see and change the metadata! Not to mention, the user has access to internal and potentially damaging information! clear SharePoint properties

How to clear SharePoint properties from a document before sharing

  1. Create a copy of the document (within the same library). This step is necessary because we do not want to wipe out metadata properties of the document and lose the existing metadata)
  2. Rename the file if necessary
  3. Open the document in the native application
  4. Click File > Info > Inspect Document (the example below shows Word, but the same technique applies to other Office files as well) clear SharePoint properties
  5. Click on Inspect Document clear SharePoint properties
  6. Click on Inspect
  7. Under Document Properties and Personal Information, click Remove All clear SharePoint properties
  8. Hit Close at the bottom of the screen and Save button to save changes to the document
  9. You will now notice the custom properties for the document gone clear SharePoint properties