I am using SharePoint online (office 365).
As you know, you can add the value of fields(Site columns) from a Document library into a document by using Quick Parts. I have manged to add Barcode field to the Document library (by going to "Information management and policy settings" of the Library). I can see the generated barcode in the view for a particular item (document). However I cannot add a quick part for the barcode field to the document temaplate of the list, because it does not appear in the list of queck parts to add when you edit the word template of the library.
How can I add the generated barcode to the document?