How to use Filename, modify date and publish date as a quick part in word app

%3CLINGO-SUB%20id%3D%22lingo-sub-1315861%22%20slang%3D%22en-US%22%3EHow%20to%20use%20Filename%2C%20modify%20date%20and%20publish%20date%20as%20a%20quick%20part%20in%20word%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1315861%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22js-vote-count%20grid--cell%20fc-black-500%20fs-title%20grid%20fd-column%20ai-center%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22post-text%22%3E%3CP%3Ewe%20want%20to%20insert%20filename%2C%20modify%20date%20and%20publish%20date%20in%20a%20word%20document%20template%20as%20quick%20part%20connected%20to%20sharepoint.%20These%20values%20should%20populate%20from%20sharepoint.%20For%20example%20when%20document%20name%20is%20changed%2C%20we%20should%20see%20new%20document%20name%20inside.%20We%20use%20office%20365%20solution.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMay%20you%20help%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1315861%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1317185%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20use%20Filename%2C%20modify%20date%20and%20publish%20date%20as%20a%20quick%20part%20in%20word%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1317185%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F626239%22%20target%3D%22_blank%22%3E%40furkanf%3C%2FA%3E%26nbsp%3BSharePoint%20document%20metadata%20including%20those%20properties%20will%20update%20when%20added%20as%20Quick%20Parts.%20This%20is%20out%20of%20the%20box%20functionality.%26nbsp%3B%20Do%20you%20see%20the%20properties%20in%20the%20Quick%20Parts%20%26gt%3B%20Document%20Properties%20list%3F%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorSteve%20Knutson_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1319241%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20use%20Filename%2C%20modify%20date%20and%20publish%20date%20as%20a%20quick%20part%20in%20word%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1319241%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F43161%22%20target%3D%22_blank%22%3E%40Steve%20Knutson%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20i%20see%20publish%20date%20in%20quick%20parts.%20But%20it%20doesn't%20come%20from%20sharepoint.%20If%20i%20change%20publish%20date%2C%20it%20still%20show%20the%20old%20date.%20And%20it%20allows%20me%20to%20select%20date.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20added%20two%20screenshot.%20I%20can%20see%20Document%20ID%20is%20updated%20from%20shared%20point%20and%20document%20version.%3C%2FP%3E%3CP%3EBut%20i%20cannot%20use%20publish%20date%20as%20document%20ID.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1327443%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20use%20Filename%2C%20modify%20date%20and%20publish%20date%20as%20a%20quick%20part%20in%20word%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1327443%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F626239%22%20target%3D%22_blank%22%3E%40furkanf%3C%2FA%3E%26nbsp%3BI%20think%20I%20understand%20the%20issue.%20The%20Published%20Date%20property%20is%20a%20hidden%20Word%20property%20that%20is%20manually%20updated%20by%20the%20user%20only.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20SharePoint%20if%20you%20add%20a%20new%20field%20to%20store%20the%20published%20date%20you%20can%20use%20that%20SharePoint%20field%20in%20Quick%20Parts%20and%20it%20will%20update.%20You%20could%20update%20that%20field%20using%20an%20approval%20Flow%20if%20you%20are%20using%20the%20SharePoint%20document%20publishing%20features.%20I%20wrote%20a%20blog%20here%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsteveknutson.blog%2F2019%2F09%2F21%2Fflow-approvals-with-sharepoint-document-publishing%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsteveknutson.blog%2F2019%2F09%2F21%2Fflow-approvals-with-sharepoint-document-publishing%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20article%20explains%20the%20Published%20Date%20property%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Foffice-watch.com%2F2018%2Fpublish-date-mapped-content-controls-word%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foffice-watch.com%2F2018%2Fpublish-date-mapped-content-controls-word%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20helps%20%3A)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor
 

we want to insert filename, modify date and publish date in a word document template as quick part connected to sharepoint. These values should populate from sharepoint. For example when document name is changed, we should see new document name inside. We use office 365 solution.

 

May you help?

 

Thanks!

3 Replies
Highlighted

@furkanf SharePoint document metadata including those properties will update when added as Quick Parts. This is out of the box functionality.  Do you see the properties in the Quick Parts > Document Properties list?

 

 

Highlighted

Hello @Steve Knutson ,

 

For example, i see publish date in quick parts. But it doesn't come from sharepoint. If i change publish date, it still show the old date. And it allows me to select date.

 

I added two screenshot. I can see Document ID is updated from shared point and document version.

But i cannot use publish date as document ID.

 

Thank you.

Highlighted

@furkanf I think I understand the issue. The Published Date property is a hidden Word property that is manually updated by the user only. 

 

In SharePoint if you add a new field to store the published date you can use that SharePoint field in Quick Parts and it will update. You could update that field using an approval Flow if you are using the SharePoint document publishing features. I wrote a blog here:

https://steveknutson.blog/2019/09/21/flow-approvals-with-sharepoint-document-publishing/

 

This article explains the Published Date property

https://office-watch.com/2018/publish-date-mapped-content-controls-word/

 

I hope this helps :)