Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Header and logo not printing on Word Template

Posted on by Microsoft Employee

I creating a new word template from the original RM Statement on Blank Paper and then generating a statement with that template. All information is being displayed for the body but the header information in word has not been populated and the logo hasn't been added. Its as if the xml cant write to the word header.

Im using Word 2013 and no modifications have been made to the standard word template. I seem to have this issue across all word templates. Am I missing a setting in Word or GP?

Thanks

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header and logo not printing on Word Template

    This causes me grief every 6 months or so and every 6 months I google "logo not printing in word header" or words to that effect and up comes Heather's correct response. Thank you so much!!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header and logo not printing on Word Template

    Thank you thank you thank you. 26 years in IT and that's a new one. Who would associate printing issues with bookmarks (thank you Microsoft?). 

  • RE: Header and logo not printing on Word Template

    Thank you so much this worked for me just removing the control.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header and logo not printing on Word Template

    Thankyou, that was the answer! There is a bookmark in the header that GP will obviously use to process data for this section. Therefore, you have to be careful when deleting the blue band, not to delete this bookmark. I just change the format of the box to clear.

  • Verified answer
    Heather Roggeveen Profile Picture
    Heather Roggeveen 9,142 on at
    RE: Header and logo not printing on Word Template

    Hi

    I can probably almost certainly guarantee that your issue is related to Bookmarks.  This is a lesson I have learned overtime and one that everyone trying to work with Word templates needs to know.

    Enable Bookmarks and show them.  To enable Bookmarks go to File >> Options >> Advanced >> Scroll Down to Show Document Content >> Check the box for Show bookmarks.  This will print as a grey capital “I”.  They will not print when you send them to a printer. The bookmarks are used to create the page sections, page numbers and lots of other “developy” things. Without them, your report may not function at all. If you have deleted them, it is pretty easy to add them back in. In the Word Document go to the location you would like the Bookmark click Insert > Bookmark and enter the Text of the Bookmark.  If you are not sure what the name of the Bookmark is you can create a brand new Template and go to the same path to see what the name is.

    It is so easy to delete the bookmarks - and also really easy to put them back.

    I published this blog post a while back on the pitfalls of Word templates that you may find useful:

    www.olympic.co.nz/dynamics-gp-avoiding-the-pitfalls-of-word-templates

    I love the templates - but they can be tricky!

    Cheers

    Heather

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header and logo not printing on Word Template

    I am having this exact issue. I've grabbed the default template for the SOP Blank Invoice (which prints fine OOTB), but as soon as I modify it I can't get it to print properly.

    All of my fields are mapped correctly. I haven't added any new fields, I've just removed the blue banding, a logo and moved the pre-existing fields around. Nevertheless, when I try to print from GP it doesn't print everything. Some fields are missing, some are completely rearranged, etc.

    Were you ever able to get this figured out?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header and logo not printing on Word Template

    Actually this is really frustrating, can nayone else confirm they are getting this issue using these steps:

    1. Create original word template and test - it seems to works fine and header etc is populated.

    2. Create a new template from your existing template and test - it works

    3. Modify your new template to remove the blue banding in the header and test - it doesn't work, the header is now not populated.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header and logo not printing on Word Template

    I have got logos and data working in header now. However, there stills seems some inconsistent behaviour that occurs create a new word template from the original to change the Word design.

    I will keep an eye on it, thanks for your help everyone

  • Suggested answer
    Josh P Profile Picture
    Josh P 2,895 on at
    RE: Header and logo not printing on Word Template

    You can add the image directly to the Word document that is being used for the template, and re-add the modified version using the template maintenance screen.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header and logo not printing on Word Template

    If you click "Modify" on the template maintenance window to open up the word template, right click on the header and select "Edit Header". Put the cursor in either of the fields that are printing with X's instead of data. When you right click, do you see an option that says "Remove Content Control"? If you don't see that option, the field isn't mapped and you just need to delete the x's, open up your field list and drag the field over.

    I would also check to make sure you have Open XML 2.0 SDK or later installed on your machine. That might be causing some issues.

    Here are a couple of helpful articles:

    www.dynamicsgpinsights.com/.../creating-a-word-template-for-dynamics-gp

    blogs.msdn.com/.../modifying-microsoft-dynamics-gp-2010-word-templates.aspx

    If you are new to word templates sometimes it's better to just scrap it and restart, especially if the form isn't modified.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans