-
Is there a reason why you are not making a data connection in InfoPath? InfoPath can consume a DataSet from a .NET webservice. Simply return the dataset from the web service and hook InfoPath into the web service by using the data connection wizard.
-
Are you using System.Environment.UserName in your C# code to get the current user?
-
Pretty simple >> go to Data Source in the InfoPath task pane >> in the data source dropdown box select the web service >> you will see a tree node named dataFields >> expand that to your table >> then select the group node that represents your table >> drag it onto the InfoPath form >> you will be prompted ...
-
I was wanting to know is there a way to publish an InfoPath form via command line to a SharePoint site? We are trying to write a build/install script that also has the building and compiling of such things as web services, biztalk orchs., etc. and would like to make InfoPath apart of this install script.
Thanks...
-
Check out this chain -http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=810
In InfoPath there is no typical focus() method to call. You have to select the correct node in the DOM.
-
Check out - Lab 8: Data Sources in InfoPath 2003 -http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_tr/html/odc_INF_Lab_08.asp
Review Exercise 2: Populate a List Box with Values from an XML Document - this may help.
Also check out this lab when you have some more bandwidth - Lab 9: ADO.NET DataSets in InfoPath 2003 ...
-
Try messing around with the OnBeforeChange event for the repeating group (go to data source >> double click on the group >> go to validation and event handlers tab >> select the OnBeforeChange event and press edit). In the event handler, check the count and if it is too large set eventObj.ReturnStatus = false.
If ...
-
The repeating table is probably bound to a group within your main datasource. When you look at the properties for that group, is the repeating checkbox checked?
-
That is a bummer.
When writing script code in InfoPath you be surprised how many times I would have to write the following code which is doing the same thing as the XmlNamespaceManager class.
XDocument.DataObjects(''data connection'').DOM.setProperty(''SelectionNamespaces'', ...
-
Yes, that is another great approach. Make your .NET classes XML Serializable. I was lead to believe the original implementation of the web service was not in .NET code. Otherwise that great practice.