Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
    
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

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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