Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Word Templates - The template you selected cannot be added to this report

Posted on by 22,782
I'm trying to create a Word template for the SOP Blank Picking Ticket Order Entered but get the error message everytime I try to Add Template in Report Template Maintenance. I'm using Word 2010 (and leaving the Maintain compatibility with previous versions of Word box checked). Has anyone any further ideas of what the problem might be? I have created the template using the Word Template Generator from a saved Report xml but even if I just do Modify, save the output template which contains the text "Refer to the Microsoft Dynamics GP documentation for information about creating a template." and import that I get the same error.

*This post is locked for comments

  • Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: Word Templates - The template you selected cannot be added to this report

    Hi @Dave Dusek, I am getting the same issue. And don't understands the reason of this issue.

    wt.png

  • Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    Re: Word Templates - The template you selected cannot be added to this report

    Not sure exactly what was going on last week but I've retried this morning and it has worked fine. Last week was one of those weeks, so I'm guessing that I wasn;t picking the correct report to import it into.

    Thanks for all the replies.

  • Verified answer
    Dave Dusek Profile Picture
    Dave Dusek on at
    Re: Word Templates - The template you selected cannot be added to this report

    Ian,  

    Open up the xml file that you generated with notepad.  Look at the top of the xml.  In the dictionary node, if you see a line like this:

       <Main Path="C:\GP2010R2\">Dynamics.dic</Main>

    Then the xml has been generated on the original, not modified report.  If you see something like this:

       <Main Path="C:\GP2010R2\">Dynamics.dic</Main>

       <Report Path="C:\GP2010R2\Data\">REPORTS.DIC</Report>

    Then that means that you generated the xml on a modified (in rw) report.  

    You will also want to check the xml name.  It should be something like this:

    XMLNAME="SOP Blank Picking Ticket Order Entered"

    Knowing that, you know the report name and whether it's modified or original, now go into the Template Maintenance window and be sure to choose the report that matches the XMLNAME and either original/modified.  Then it should work.  

    The versions also have to match and if this is an alternate report then that could also affect this, but you would want to start here.

    Dave Dusek

  • Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    Re: Word Templates - The template you selected cannot be added to this report

    Hi Leslie,

    The other template I tried to change was one of the PO ones which have a default template shipped wiht GP.

    The Picking Ticket doesn't have a default and it is this I am trying to create. The xml I produced is the exact same named report that I am trying to load it into.

    The picking ticket is an unmodified one I printed as xml and used the Word Template Generator to convert into a docx.

    Ian

  • L Vail Profile Picture
    L Vail 65,271 on at
    Re: Word Templates - The template you selected cannot be added to this report

    Another question, are both .xml files being created with the same report?  Meaning an original copy or a modified copy as far as Report Writer is concerned. They must match.

  • L Vail Profile Picture
    L Vail 65,271 on at
    Re: Word Templates - The template you selected cannot be added to this report

    Ian,

    Are you trying to create a second word template for the Picking Ticket? Your comment

    "One other thing; if I modify a pre-existing template I can import this without seeing the error"

    If you are, are you using a different .xml file for the second template?

    Kind regards,

    Leslie

  • Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    Re: Word Templates - The template you selected cannot be added to this report

    No, the Word template wasn't open. I've just closed everything reopened GP and tried again and get the same error message.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Word Templates - The template you selected cannot be added to this report

    Is the word document template open when you are trying o add the report to GP?

    If so, close the word document and then try adding it.

    After that, close all applications, re-open just GP and try adding it again.

    Ian.

  • Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    Re: Word Templates - The template you selected cannot be added to this report

    One other thing; if I modify a pre-existing template I can import this without seeing the error.

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans