El Blanco's Office 2007 Blog

Wednesday, July 26, 2006

InfoPath 2007 Features

There is an excellent article on MSDN located here that describes the new features of InfoPath 2007 - well worth a read for those looking at getting started with the new InfoPath client.

2 Comments:

  • I’m using InfoPath 2007 beta version display forms using XMLFormView in an ASP.NET page.

    I have a web service to retrieve and submit data to/from the InfoPath form. My web service (stored procedure ultimately) requires a one query field to retrieve data which is Personid. I’m getting it from another ASP.NET page as a parameter which doesn’t have any xmlformview controls in that page .

    I’m using XPathNavigator to select the query field and set the PersonId in the ASP page load event which works fine. I’ve also set a rule in personid field InfoPath template to specify that if it is not blank then automatically query the data base through my web service and get the result which also works fine and I can see all the accurate data in the xmlformview. (call to the stored procedure is visible in SQL profile trace)

    The question is when I modify data and try to submit the form I’m getting a data validation error saying that cant submit the form since some fields are blank. (for example, some fields suppose to contain integers like ‘age’). But in the runtime xmlformview (inside the ASP page) I can see all fields with actual data and they are not blank)


    My assumption is that InfoPath still thinks that fields are blank even though they have been bound to data in the ASP page load event. Cause after getting the ‘cant submit’ error if I refresh the page and manually type a valid person id in the field and retrieve, modify and submit the data it works fine.

    I was using http://msdn2.microsoft.com/en-us/library/ms778201.aspx as a resource and done all steps mentioned there.

    Does anybody faced to this situation before ? Please let me know if you know any articles I can look into too.

    By Blogger chat., at 7:01 pm  

  • InfoJet Service, a product likes InfoPath Forms Services!
    http://www.infojetsoft.com

    By Anonymous David, at 8:25 am  

Post a Comment

<< Home