Is there a way to map the MS word document properties inside SharePoint online document library

john john 1,021 Reputation points
2020-11-12T10:42:04.073+00:00

Inside MS word document we have the following properties:-

39333-pro.png

and my question is if we can map these properties inside SharePoint document library? so for example i can populate the above properties inside word document >> upload the document inside an online SharePoint document library >> then the proprieties will be automatically populated inside SharePoint?

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | Word | For business | Windows
{count} votes

5 answers

Sort by: Most helpful
  1. Echo Du_MSFT 17,316 Reputation points
    2020-11-13T03:24:54.1+00:00

    Hello @john john ,

    When you upload files to the SharePoint Online Document Library, the SharePoint Library will auto fill in properties of files.

    Please follow steps:

    1. Go to Document Library >> Library settings >> Advanced settings >> enable "Allow management of content type" function >> OK
      39525-doc1.png
    2. Return to the Library settings page, go to Columns section, click Add from existing site columns link.
      39552-doc2.png
    3. On the Add Columns from Site Columns page, you could select these columns under the Available site columns List >> Add >> OK
      39526-doc3.png
    4. When you upload file to Document Library, you will find some document properties auto fill to Library. This is because some properties in the file as metadata are auto mapped to SharePoint Online.
      39520-doc4.png

    Thanks,
    Echo Du

    ====================

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    4 people found this answer helpful.

  2. john john 1,021 Reputation points
    2020-11-13T11:18:39.09+00:00

    ok thanks for your helpful reply.. i followed your steps and i am able to map the Status,Comments,title .. but i am not sure if we can create custom properties inside MS word and map them to SharePoint + if we can map the other properties such as Manager, company, etc..? i am asking if there is a built-in approach or using development approach such as creating a remote event receiver that can read the MS properties and populate the SharePoint list...


  3. Charles Kenyon 3,146 Reputation points Volunteer Moderator
    2020-11-16T22:27:59.873+00:00

    Look, first, at the mapped properties included with Word under the Insert > Quick Parts > Document Properties.

    I do not have Share Point. My impression is that the mapping is from SharePoint to Word, and not the other way around but I am speaking out of ignorance.

    I do know that SharePoint can add to that list under QuickParts.

    See:

    0 comments No comments

  4. Mike Slaugh 1 Reputation point
    2020-11-24T05:13:09.843+00:00

    You can definitely do it. Its been a feature since SharePoint 2007. In your list of documents add the columns that you want and put data in them. You can put even put whole paragraphs if you would like. There are multiple ways you can do this and some are better than others.

    Here is a quick way but not the best way. You will need to open the developer tab in word. Then click on the XML mapping pane. here you can pick the one with Sharepoint or XML in its name. and you will see the list of your custom columns. Now in the word document with the XML mapping pane open on the right, right-click the value you want, and insert the control.

    You can now change the value in the control in word or open the document library and change the value in the column and it will sync both ways. If you send this document to someone else who does not have the SharePoint library, they will just see the values you entered. Kind of like Mail Merge.

    You can then set the default XML for this document or document library to always show the SharePoint values.

    41948-image.png

    41949-image.png

    42075-treeproperties.png

    0 comments No comments

  5. Robert Vallejo 1 Reputation point
    2021-09-07T19:01:22.647+00:00

    How Update Property Sharepoint with VSTO Add-In of Word. ?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.