Browse by Tags - InfoPath Dev
InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects.
All Tags » code » programming
Office365 Alert - Sandbox has been deprecated in SharePoint Online. Read more here.
Having trouble finding a blog or post that answers your question?
Check out our Custom Search Page
Browse by Tags
2007 Object Model
code Vb notes submit sharepoint
Infopath 2007 Form control
SharePoint list items
update list item
visual basic for applications
visual studio 2005
Visual Studio 2008
How to publish *.xsn file with vb code?
Hi All, how to publish the *.xsn file with vb code? i have try to publish to the network drive, but the published file cannot be open. the error like this: "Form template: file:///\\bkin04\public\IT\test2.xsn The form template is trying to access files and settings on your computer. InfoPath cannot...
Wildcard code fails only once connection has been converted to sharepoint...please help
Hi there everyone, I wanted to use wildcards in a serach form which queries a SQL database for student attendance. I followed the guide found here to write the appropriate code, which works fine in the client application....in fact it works great!! My actual code is shown below: public void btnQuery_Clicked...
Re: how to add xsi:nil = "true" attribute
Thank you for the quick response Jimmy. I added TOTAL_LENGTH_1MM .CreateAttribute("xsi", "nil", NamespaceManager.LookupNamespace("xsi"), "true"); to my code, but now I am getting this message System.InvalidOperationException was unhandled by user code Message="Schema...
Multi action command button
When a form is ready to submit, I would like to like to click one button and have the following be performed [needs to happen in this specific order] Run a “web service” already setup within the data connections section of the form. This web service gets the next Change Management reference number. Now...
Programmatically saving form under multiple templates by changing processing instructions
Hello, I am a c# novice and I am trying to build a template that can save forms under multiple templates. I want to accomplish this by accessing the processing instructions and modifying them to point to the other templates. Can this be done, and if so any help on how to accomplish this would be greatly...
Date and Time Onload
I have a form that has to auto fill fields, Date and RFQ ( which is a number built from the current date and time ). On the creation of a new form, these both work perfectly. My problem is after a form has been filled and saved to Share Point, when it is re-opened, the feilds are updated to the current...
Stop the Submit if the form is open as read only
Hi friends, I have the below code that runs for my submit that is running off of a button. Does anyone know how to (what to) put to stop this from running and give an error message if the form is open as read only? I am getting row update errors if someone trys to submit it as read only, there ends up...
DataConnection not defined error
Hi guys, I am still struggling with a timeout error due to a slow network on my 2003 form. I have come up with the below code (never written code in Jscript before) and now I am getting an error, Data Connection not defined. Can anyone tell me what lines I am missing? XDocument.QueryAdapter.Timeout=120;...
SharePoint ID field into InfoPath form
Hi guys, I am looking for a way to get the SharePoint ID field to show in a text box in the Infopath form. In pseudo-code, I am thinking along the lines of: Submit Button clicked. Has ID already been assigned? YES - Save form normally NO - Submit Form - Retreive ID field for this form from SharePoint...
Page 1 of 1 (9 items)