Select Page

How to Pass Query String Data into an InfoPath Form?

You can try a Query String as parameters pass to InfoPath form and if you wish to have a solution without code, you can use Query String (URL) Filter Web Part solution.

you can check the relevant more detail in this link it will show how to achieve same in an alternate way.

Passing Data From One Infopath To Another Infopath Form

Click to Know

If you want to achieve them with a code, you can use like:

// URL: https://www.foo.com/bar.xsn?xyz=1

public void FormEvents_Loading(object sender, LoadingEventArgs e)
{
   // Assign the value of the parameter 'xyz' to the string 'xyzValue'
   string xyzValue = e.InputParameters["xyz"];
}
How to Pass Query String Data into an InfoPath Form?

Chetan Patel

Director at Metizsoft Solutions, Chetan Sheladiya today stands at the top of a leading Mobile Application Development company, which further specializes in Online Business Marketing, Social Media Marketing, Web Development, amongst other areas. A tech-lover at heart, Chetan has had more than a decade worth of experience, dealing with hundreds of projects, and creating a bunch of unique IT solutions along the way. His other interest lies in sharing his ideas and opinions with people as passionate about technology, as he is. You can find his thoughts expressed on LinkedIn, Twitter, and Facebook.

Facebook Twitter Linkedin