.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

InfoPath: Turn User Input into XML with Custom Forms Using Office InfoPath 2003

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

Office InfoPath 2003 is a new Microsoft Office product that lets you design your own data collection forms that, when submitted, turn the user-entered data into XML for any XML-supporting process to use. With an InfoPath solution in place, you can convert all those commonly used paper forms into Microsoft Office-based forms and end the cycle of handwriting and reentering data into your systems. Today organizations are beginning to realize the value of the mountains of data they collect every day, how hard it is to access it, and are striving to mine it effectively. InfoPath will aid in the design of effective data collection systems. Here the author shows you how to get started.

Aaron Skonnard

MSDN Magazine September 2003

View Complete Post

More Related Resource Links

Overwriting Existing InfoPath 2003 Forms



I'm having a big problem in my Sharepoint Environment.

So far I've created a form in InfoPath 2003 and successfully published it to a Form Library. It's also submitting correctly (at least at first).

Now after I added a couple forms, let's say three forms with unique file names, and then I open the second one, make a change and submit it again, it disappears from the "All Items" list. I can still see it sitting in the "Explorer View", but it's missing in the other. Now when I try to "Fill out a new Form", it either won't show up in the list or it will show up but with the column fields that have been populated previously.

We're using WSS 2.0 and InfoPath 2003.

I used this guide to create the unique filenames: http://www.codeproject.com/KB/sharepoint/SharePointSubmitInfoPath.aspx

In my view, the issue lies in trying to overwrite existing files and not appearing in the list.

Any help is much appreciated !!!


Thanks in advance.

Marvin Sugirin

infopath 2003 user role error

hi, i'm trying to create a user role for my form in infopath 2003. but when i add a user and click on the icon next to the texbox it gives me this error: The program cannot open the required dialog box beacause no locoation can be found

Custom List with Infopath Forms

Hi, In a Site Definition I would like to include a few List Definitions.For these lists I would like to replace the standard NewForm.aspx, DispForm.aspx etc. with Infopath forms.Can you guide me to some walkthrough or some example sources?Thank you,JC

Accessing code in InfoPath 2003 forms from Visual Studio 2005

Can vbscript code contained in an InfoPath 2003 form be accessed from VS2005 on a machine running Office 2010? We are testing Office 2010 our our PC's and the custom task pane code that works just fine on PC's running Office/InfoPath 2007 does not run on the test PC's. I've been reading that the vbscript code in the form can't be edited directly when opening the form in InfoPath 2010, but that's not what I'm trying to do. I want to access the vbscript code through the .Extension property of the XDocument object from client side javascript code on an .aspx page like we have done for years. The existing code, which runs perfectly on PC's with Office/InfoPath 2007,  looks like this ... var xDoc = window.external.Window.XDocument; xDoc.Extension.UserLookupDone (userid); When run on PC's with Office/InfoPath 2010 the code throws error "Class doesn't support Automation". Are we trying something that is no longer possible? Any help is appreciated.

Adding Custom Actions to Ribbon UI in InfoPath forms

Hi experts, - I have a custom List in my site. - I have modified the default SharePoint List forms (DispForm.aspx, EditForm.aspx and NewForm.aspx) using InfoPath 2010, changes being related to the layout of input controls. - Then I wish to add a custom action (a print button - for printing based on modified layout) in the Ribbon Control of these InfoPath modified forms (i.e. displayifs.aspx, editifs.aspx, newifs.aspx). - I am doing the following http://www.endusersharepoint.com/2010/02/19/adding-custom-actions-to-the-ribbon-ui-in-sharepoint-2010-using-sharepoint-designer-2010/ but i guess, it only forms for the SharePoint List forms and not the Infopath modified forms. Any suggestions on how to add a custom action of 'Print' on the Ribbon UI of the list forms. Is there any other better approach? Kindly advise. -Pallz.

move infopath forms from SP Portal Server 2003 to 2007


I am a newbie to SharePoint. Please let me know if I didn't explain my problem well...

We built the new SharePoint server 2007 on a different physcial box from the old server 2003. There are huge amount of InfoPath forms in form library on the old server. I was told that: to get these forms moved over to the new server 2007, we have to save the forms and re-publish to the new server one at a time. This will be really time consume and also loosing the attributes of the original forms, the date it was created and modified etc.

I would like to see if there is a way to move one form library at a time, and just copy the forms over; not publishing them again.

Many thanks!


Adding custom help to browser based Infopath forms


We are developing a browser-based application with Infopath 2010 forms.  We would like to provide buttons that pop up a separate browser window containing an HTML help page, which would be stored in a SharePoint Wiki.  I understand it is not possible to call JavaScript from a browser form, which was the initial thought. 

What other approaches are there for providing custom help in Infopath?

InfoPath Forms Services has detected a mismatch between the user's data in the browser and on the s


Hi All,

I am getting following error message in my SharePoint Logs,

InfoPath Forms Services has detected a mismatch between the user's data in the browser and on the server. This may indicate the SESSION_STATE_PASCAL_CASED is not configured properly on a multiple front end farm or that a malicious user is trying to tamper with client data.

Any idea how to solve this issue ?


Muhammad Tariq khan

InfoPath forms and custom Ribbon



I would customize the ribbion from the "new item" and "edit item"-form of my custom list. It works when I create new "custom Actions" via the SharePoint Designer. The ribbon location is by default "Ribbon.ListForm.Edit.Commit.Controls._children" so far so good.

I have by default the "NewForm.aspx", "EditForm.aspx" and "DeleteForm.aspx" files. Now i customized the forms in InfoPath to have a better look and created some rules and so on. After publish, "newifs.aspx", "editifs.aspx", "deleteifs.aspx" were create and I deleted the old (NewFrom etc).

But now the ribbon location is changed to "Ribbon.Tabs.InfoPathListDisplayTab.*" (seen in Browser by FireBug). I tryed to switch the ribbion location in the custom action via SP Designer to "Ribbon.Tabs.InfoPathListDisplayTab.Commit.Controls._children" without success. 

Know anybody where the definition "Ribbon.Tabs.InfoPathListDisplayTab" comes from? In CMDUI.xml she isn't..

And how can I append custom actions in the ribbon to published infoPath forms?

Thanks edel


Question about a custom InfoPath 2003 Query


I have searched the web and youtube but cannot find anything. I have published a InfoPath form to a SharePoint list, and created a "Receive" connection. I need help creating the search to pull data using 2 dropdown boxes and a Query button. Here are the steps. (this is NOT a web form, just a standard form)

1. The user will choose Q1, Q2, Q3 or Q4 from the 1st dropdown box.

2. Then choose Submitted, Review, or Stage3 from the 2nd dropdown box. 

3. Then click the Query button. 

4. Then I want the results to be displayed in a repeating table with controls. (which I already have setup)

Any help to build the query logic would be greatly appreciated! 

Thank you for your time!''


Office 2003: Host an Interactive Visio Drawing Surface in .NET Custom Clients


Microsoft Office Visio 2003 introduces a new drawing component that allows you to embed an interactive drawing surface into your application's user interface. You can drive the Visio drawing component from events in your host application or with data from a Web Service and an ADO.NET data adapter. The Visio drawing component supports the rich Visio application programming model, giving you control over how graphics are used and displayed on the drawing surface. This article explains how to embed the Visio drawing component into a C#-based Windows Forms client app that retrieves data from the Fabrikam 2.0 Web Service.

Mai-lan Tomsen Bukovec and Blair Shaw

MSDN Magazine December 2003

Proper setup using Infopath and Custom Workflow using VS 2008



I have been struggling for a couple of days, trying to set up a decent
structure for an Infopath project using a custom workflow using Visual Studio 2008.

I had a solution with two projects:

1) Sharepoint 2007 Workflow

2) Infopath 2007 form w/code-behind.

I included the xsn, in the VS solution, but after a day or two,
something went wrong, and I lost some work. I still do not know what
happened, but I could not get my changes to persist afterthat  Doing research I have read that this
stucture, using Infopath xsn, within VS does not work correctly with Source
Control. I am using VSS.

So I since made a change to the set-up so that the .xsn (form template) is separate from
Visual Studio. However, I need to leave the code-behind in VS, since I need to debug

This is my latest problem. I have been unable to attach to the correct
process, as VS generates cachse files, and who knows what else.

My question is simple. What is the supported method for debugging InfoPath
code/behind, which uses a Sharepiont Workflow?

I just also want to say that one should not have
to spend a few days just trying to setup a working development environment.

This should be trouble-free, but it is far from being so. I

MOSS 2007 : I am looking for tutorial about how tu use infopath 2007 forms and to associate to them



I am quite new on sharepoint 2007,

i am at the moment looking for tutorial to help to understand better the concept of workflow you can associate with infopath 2007.

I would like to create a  form that the visitor of the website can fill and then submit.

once the form submitted i would like tto be able to store all the date picked up to the database sqlserver 2005 and then to be able to send a email to the administator to be kept inform  of that.

the 2 tutorial i found that i found interested are http://weblog.vb-tech.com/nick/archive/2007/02/25/2207.aspx and the microsoft one o.n the virtual lab.

So what i am looking for is any tutorial which can help me to be understand very well how to use the worklow with infopath or if you have as well some book to advice me for that i would be happy.


Infopath button click event in custom workflow code.


Hi All,

I have designed the infopath form(Init) and integrated with my state machine workflow. i want to access button click event (designed in Infopath form) in my workflow code.

Can you help me.




Infopath form and forms library error

I've created an InfoPath 2010 form and associated it with a forms library on a SharePoint site. When I go to the library and choose "Add document" the form opens up to be filled out by the user. When the form is filled out, and the user tries to submit, they get an error saying that I need to configure SharePoint to allow cross-domain data access for user form templates that use connection settings in a data connection file and store a UDC file in the same site collection as the form. So I've enabled cross-domain data access and I've already created a Data Collection Library for Forms in the Site that is approved. What am I missing?  Why am I still getting the error?  

InfoPath Forms Services postback crash

Howdy, I'm an InfoPath 2007 developer and have used it extensively in conjunction with SharePoint 2007 (and Forms Services). I've noticed a persistent bug in Forms Services when using postbacks -- I can't seem to find a bug report or known issue report for it. When a field is say, for instance, set to Always postback, if you click on another field / checkbox / whatever which will also perform a postback, it crashes the form & IE8. Has anyone else come across this bug? I assumed something funny would be going on as the JS behind it would be calling two postbacks at the same time, and perhaps this isn't handled well? I couldn't find any related post on this forum, just seeing if anyone else has come across it and whether a solution exists? Thanks, George
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend