Programmatically set values in a DIP?

J

Joseph H. Ackerman

I'm working on an application where several business applications are using
SharePoint as a document management system. I have a need to take parameters
that are being passed from the applications a put them into documents that
are being generated from SharePoint.

I know that I can use InfoPath to create custom Data Information Panels for
the content types & MS-Word document templates, but my question is this:

Can I somehow dynamically (programmatically) store a "key" value in the
InfoPath form so that when the document opens in word I can use some code (in
the onload event I suppose) to go grab data that can "pre-populate" some of
the fields in the DIP? Or more simply put, how can I get data into the
fields of the DIP without the user having to enter them?

Any advice or suggestions are welcome.
 
J

juanmo

You can instert a dropdownlist in an infopath form and establish a
dataconnection in that control (right button click+properties) to retrieve
data from a list in sharepoint or a webservice and this data will populate
the dropdown list.
 

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