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

David JAOUEN 0 Reputation points
2024-06-27T08:10:58.9333333+00:00

Hi,

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,

David

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
748 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,681 questions
SharePoint
SharePoint
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
    2024-06-27T09:24:29.2966667+00:00

    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

    56121-open-in-app.png

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

    55948-footer.png

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

    56065-document-id.png

    5.Close Header and Footer and save it.

    56066-close.png

    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.