How to insert Sharepoint Document ID in a document (Word, Excel...)?

David JAOUEN 0 Reputation points


I enabled the Document ID in Sharepoint so each document have a unique ID.

I would like to insert this Document ID in documents (Word, Excel...) but I do not have access to this property of the document (it does not exist in File > Info > Properties).

How can I do this?

Also, I would like to do the same with the document version number.

Thanks for your answers,


A family of Microsoft word processing software products for creating web, email, and print documents.
748 questions
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,681 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,249 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Haoyan Xue_MSFT 22,231 Reputation points Microsoft Vendor

    Hi @David JAOUEN ,

    You can add the Document ID as a Footer to word document.

    Please the following steps:

    1.Sign in the Document library as an admin

    1. Open the word document in app


    3.Go to the Insert tab, click on Footer menu, and then select Blank option


    1. Select the [Type here], click on Quick Parts menu, and then select Document Property and select Document ID Value.


    5.Close Header and Footer and save it.


    6.When you open the word document again, you will find that the Footer has been set successfully.

    Version Number on Word document:

    1.Activated the Library and Folder Based Retention Site Collection feature

    2.Checked "Enable Labels" in the Information Management Policy Settings for the Document Content Type, and entered "Version:{Version}" into the Label format field

    3.Opened the document in Word, and inserted a Quick Part (Document Property > Label)

    enter image description here

    enter image description here

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.