I have a page with nothing on it but a Infopath Form WebPart which I want to use to be able to edit an existing item in a SharePoint list. I have the ID of the item being passed in on the query string but I don't see a way to have the InfoPath form use this to populate the form.

I know it can do this since that is the default action of editing an item directly from the list but does anyone know how they accomplish this?

  • Can you explain why you don't want to use the default display form, but a different page showing the display form? What are you trying to achieve? – teylyn Feb 7 '13 at 22:01
  • I want to be able to show the same list item in different info path forms. IE one for initial creation, one for updating, one for the director to review, one for looking back on. – Ryan Erickson Feb 8 '13 at 0:44

I want to be able to show the same list item in different info path forms. IE one for initial creation, one for updating, one for the director to review, one for looking back on.

Theoretically, this should have been controlled through GUI of Infopath Webpart properties pop-up dialog that has "Views:" drop-down list but practically it has always only one choice:

  • Edit item (default)

as well as it should have been possible to identify and change corresponding changes through code....

I believe I tried to clear this question on msdn forum:

but with no success. Might be you will have more luck with it and share with it here...

Though, that link should answer your main question "How to edit an existing item in InfoPath Web part". Also, you can find helpful:

Update (addressing comments):
I referenced query string filter webpart only from the point of view how to edit Infopath webpart, namely, through its connector:

  • clicking Web Part menu of the Infopath web Part > Connections > Send form to as well as mentioned properties of a webpart.

These are features commonly available for any kind of a web part in Sharepoint WebPart pages and any published to Sharepoint Infopath form is available as a webpart. And according to "Applies to: SharePoint Online Enterprise (E3 & E4), SharePoint Server 2013 Enterprise" of Use the InfoPath Form Web Part, I see it is the same in 2013

If you do not have Enterprise Sharepoint Server, then there is no sense to discuss features, available only through enterprise Sharepoint Server like Infopath browser forms and web parts. What your question is about

  • Thanks for the response but I am trying to do this in sharepoint 2013 which doesn't have the query string filter webpart. Also looking at the editifs.aspx page there is no hidden list web part so there must be a way to pass those parameters to infopath directly. Any ideas? – Ryan Erickson Feb 11 '13 at 18:00
  • This got me close, I ended up downloading this web part: simego.com/Blog/2008/01/sharepoint-quer which let me pass the query filter to a list view and then get the data for the info path web part. I don't understand why they removed the filter web parts in 2013 – Ryan Erickson Feb 12 '13 at 17:54
  • Turns out 2013 does have the query string filter web part, I just needed to enable enterprise features for the site. – Ryan Erickson Mar 1 '13 at 18:25
  • Have you read my comment? I did not mean to use query string filter webpart. That was just occasonal reference I found as example to illustrate how to configure Infopath web part at large – Gennady Vanin Геннадий Ванин Mar 3 '13 at 11:19

not sure if this is what people are looking for but i edited a web part infopath form successfully (without the infopath form file) directly within sharepoint 2013, by doing the following:

  • Navigate to the library where the submitted forms exist (need to be in internet explorer to do this)
  • Go to library settings> advanced settings.
  • Click on '(edit template)'.
  • Make the changes required, 'save' (anywhere on pc, it doesn't matter), then publish.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.