I have infopath form in filler mode and deployed in sharepoint library. Infopath form is expecting query string parameters when user will open to it. I have created a custom link with following details to open the infopath form
/Forms/_layouts/FormServer.aspx?XsnLocation=/Forms/PublishedInfopathForms/form1.xsn&DefaultItemOpen=1&QueryStringVal=2
with this link, form is opening and all the querystring parameters are available in the form, but it's prompting for "File download" while opening. when adding Source parameter in query string , it's opening without any "File download" prompt but querystring collection is missing in the form.
/Forms/_layouts/FormServer.aspx?XsnLocation=/Forms/PublishedInfopathForms/form1.xsn&DefaultItemOpen=1&QueryStringVal=2&Source=http://{URL}
I don't know what's wrong here. Please suggest.