passing parameters from an aspx page to infopath

D

daska

I created an aspx page that has a xmlformview control and this page is hosted
in SharePoint (main site on port 80). I send some parameters in querystring
to this aspx page from an InfoPath form hosted in SharePoint. I do some
business processing and now I want to send the data back from this aspx page
to the InfoPath form opened from SharePoint. How will we do this? Is it
possible at all? Please help!

Thanks,

daska
 
S

S.Y.M. Wong-A-Ton

The part about the XMLFormView control on an ASPX page I understand. But I'd
love to know how you passed those querystring parameters from an InfoPath
form hosted in SharePoint to that ASPX page. Can you elaborate a bit? Because
if the "InfoPath form hosted in SharePoint" is also hosted in an XMLFormView
control on an ASPX page, you can easily use the interface of the XMLFormView
control to pass information back to the InfoPath form it contains.
 
D

daska

Hi

Thanks for replying. Here are the answers:

1. The querystring was created dynamically and then I used the hyperlink
control to open the aspx page from InfoPath.

2. Yes, I think you are right but I can not put the InfoPath form (hosted in
SharePoint) in a xmlformview control because the InfoPath xsn is a template
published in a forms library. Every time a user clicks the new button in the
forms library, a new form opens, user enters data and a xml is saved in the
forms library. If I use xmlformview to host this infopath template then i
will have to manage the "New" button functionality.

I hope I was able to clarify things in an efficient manner. I know these
technical questions are sometimes difficult to understand, especially, for
the developers who are not working on that issue. In simpler words, I am
looking to create a pop up form, just like the ones we use in our asp.net
applications where we open a popup form, do some processing and send the data
back to the original aspx page. In asp.net we have sessions. we can simply
store the data in a session and later retrieve it from the session again but
in this case, there is no way to manage the session. the session is managed
between the aspx page (host) and the infopath (xmlformview control) but there
is no management of session between the aspx page and the infpath form hosted
in sharePoint. that's where there is a problem. Any ideas on how we can
manage session between an infopath form hosted in sharepoint and an external
aspx page hosted on the same sharepoint server??

Thanks

Daska
 
S

S.Y.M. Wong-A-Ton

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