How to merge Infopath data in Word template

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
TELEBECINFOAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joanne M. OrzechManager, Document Services CenterCommented:
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
TELEBECINFOAuthor Commented:
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
Joanne M. OrzechManager, Document Services CenterCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TELEBECINFOAuthor Commented:
Thanks, last link provided usefull informations!
0
Joanne M. OrzechManager, Document Services CenterCommented:
Excellent!  Thanks so much.  Glad I was able to help a little.

Joanne Orzech
MS Word MVP
EE Zone Advisor
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.