Pass Parameters to InfoPath via SharePoint

R

Ricko

Hi,

I was wondering if anyone could help me understand if I can pass
parameters to a InfoPath form via SharePoint?

I have created a web part that returns a list of unique id's out of a
database, for each one id I have created a hyperlink which simply opens
up a InfoPath template that I have already loaded into a document
library (does that same as if you were to click on 'Fill Out This
Form').

What I need to do is pass the id to my InfoPath form so I can use it to
call a web service and retrieve additional data.

Is this possible or is there anyway to achieve the same result?

Thanks, Rick
 
G

G. Tarazi

Passing parameters is not possible, I had the same problem before.



I have a sharepoint list and links, but the links are to an aspx page, this
aspx page will receive the parameter, and write an xml file as an output,
the xml file is the InfoPath xml file with the processing instructions, and
the mime type is infopath xml



Once the page prints (outputs) the infopath xml, infopath will open
automaticly (becouse of the mime type), and the xml wil contain the proper
parameters.



Very annoying, but it works.



There are other ways, not much easier, and hard to maintain, you can use the
InfoPath automation, but that requires signed forms, trusted sites, and who
knows what else, but it may also work



Good luck
 

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