Integrating InfoPath and MS Word

J

Jeff Dale

Hi All,

Is it possible to integrate InfoPath and MS Word so information submitted
through a form is automatically inserted into a Word document?

For example:

In my Word document, I have some shared content which appears exactly the
same in all documents. However, there are some parts which should be replaced
by variables so they can be replaced with the actual content from InfoPath
forms. Let's assume, I have the following Word document:

"The product XXX has many nice features that let you YYY".

Now, in a InfoPath template, I could create a form:

Product name:
Goal:

Text which a user enters into the Product Name and Goal fields then replaces
in the Word document XXX and YYY respectively.

Can it be done somehow? Is there any better solution? My apologizes if the
question sounds stupid.

Thank you in advance,
Jeff
 
S

Sundar Narasiman

Jeff Dale,

Your question does not sound stupid. Your question is valid and reasonable.
There is no out-of-box way in Infopath/Word to achieve this. You need to
write custom coding to achieve this.

You need to define dynamic place holders in the Word Document. Use VSTO
(Visual Studio Tools for Office) to fill these place holders with dynamic
data. Basically you need to write code in C#.NET/VB.NET to pull the
necessary data from Infopath and fill the place hoders of Word.

This is feasible and achievable.
 
A

Agust

I had exactly the same thoughts as Jeff. Anyone that can share an example of
how it´s done?
reg
Agust
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top