How to Load and Display Saved Forms - InfoPath Dev
in

InfoPath Dev

How to Load and Display Saved Forms

Last post 03-15-2010 12:55 PM by hefret56. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-15-2010 09:37 AM

    How to Load and Display Saved Forms

    On my browser form I have a search box that should allow users to search existing forms in a document library.  A list of the returned forms needs to be displayed on the form in a repeating table or such (paged, since there could be a lot of results).  The user then needs to be able to select a row in the results and have the associated form open in InfoPath in the browser for editing.  I've heard of solutions based on calling the Display List method in owssvr.dll, but the implementation details were sketchy and incomplete.  C# solutions welcome. :)  Thank you.

  • 03-15-2010 12:23 PM In reply to

    Re: How to Load and Display Saved Forms

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

    I have been trying to use the solution posted here:

    http://www.bizsupportonline.net/infopath2007/programmatically-retrieve-infopath-form-from-sharepoint.htm

    So far I can't get it to work because of the problem mentioned here:

    http://www.infopathdev.com/forums/p/1114/3943.aspx

    In short, the Application class does not have the XmlForms property mentioned the MSDN documentation.  Not sure what is going on here.

  • 03-15-2010 12:55 PM In reply to

    Re: How to Load and Display Saved Forms

    hefret56:
    In short, the Application class does not have the XmlForms property mentioned the MSDN documentation.  Not sure what is going on here.
     

    I found out this is because Forms Services (i.e., browser-enabled forms) only supports a subset of the Microsoft.Office.InfoPath namespace functionality.  If you look at the reference and it's pulling it from the Office12/InfoPathOM folder, that is the limited version meant for Forms Services.

    If anyone has a workaround, it would be much appreciated if you could post it here.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.