Solved

How to merge Infopath data in Word template

Posted on 2009-07-13
5
937 Views
Last Modified: 2012-05-07
Hi Experts,

We have a MOSS 2007 portal here with an Infopath doc library. One Infopath doc containt various informations about a customer, product they needed, technological information,address, etc. Now, we would like to take some of those informations and merge it into a Microsoft Word 2003 template. The goal here is to automate, for example, the creation of a contract where the client name, address, targeted product, etc. would be automatically filled into the word template.  I already tried to insert a field from an Infopath XML document without success (it tell me that Word get an error while loading the xml file). I don't really know what to look for...

So, the question is : How would you do that? Custom code in the Word template? Custom code in the Infopath form? Secret magic feature on the MOSS?

Thanks
0
Comment
Question by:TELEBECINFO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 24869811
I don't know if this will give you any insight that you don't already have but post since you've received no other responses
http://office.microsoft.com/en-us/infopath/CH100598421033.aspx
0
 

Author Comment

by:TELEBECINFO
ID: 24870323
Thanks for the response. I think the link show how to merge different infopath files into one, and that's not exaclty what i want. The goal is to take informations from an infopath xml and merge it into a word file.

I'm now looking into XSLT, it seam that I may be able to do something with it.
0
 
LVL 37

Accepted Solution

by:
Joanne M. Orzech earned 500 total points
ID: 24871139
Ok -- we haven't implemented this yet so I have no way to know or test... but I did run across this which has a ton of links in it which might prove helpful (or not :)).

http://openxmldeveloper.org/forums/thread/138.aspx


Also - Cindy Meister lists three options here:
http://www.eggheadcafe.com/forumarchives/officedeveloperautomation/Mar2006/post25915407.asp

0
 

Author Comment

by:TELEBECINFO
ID: 24873492
Thanks, last link provided usefull informations!
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 24878631
Excellent!  Thanks so much.  Glad I was able to help a little.

Joanne Orzech
MS Word MVP
EE Zone Advisor
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When creating Microsoft Word-based forms there may be a need to have a form field repeated throughout the whole document. For instance, with a company name, you may want this information repeated automatically throughout the document rather than man…
The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
This video walks the viewer through the process of creating an MLA formatted document, as well as a bibliography with citations.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question