Pass query string to an InfoPath form

There is a infoPath form on a page (URL: “http://www.yoursharepoint.com/xxxx/xxxx.aspx?viewing=1”). We want to pass the value of “viewing” to the infoPath form.

  1. Create a new column “viewing” in the list;
  2. make sure the column is in the infoPath form (to accept the passed in value): PassQueryStringToInfoPath5
  3. Edit the SharePoint page, add a webpart “Query String (URL) Filter” to the page:PassQueryStringToInfoPath1
  4. Click “Open the tool pane”:PassQueryStringToInfoPath2
  5. Enter “viewing” into the Name box:PassQueryStringToInfoPath3
  6. Configure the connection: Send filter values to >> InfoPaht Form Web Part:PassQueryStringToInfoPath4
  7. Select “Viewing” in the next window.

 

 

 

Advertisements
This entry was posted in InfoPath 2010, SharePoint 2010, Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s