-
Great article on 5 five things that a web service should not do.
http://www.theserverside.net/articles/showarticle.tss?id=Top5WSMistakes
I know this is an InfoPath forum but the first mistake is directly tied to this thread...
-
Well, this really is not a Microsoft issue. When I referred to the word above ''Portability'' that means the code is not technology or platform dependant. This is why a lot of people do down the Java path. I do not to go off a tangent, but this is why InfoPath is SO powerful. XML is an independent standard that is not Microsoft defined. For ...
-
Need a little more information to understand your exact situation. One way you could do is it by calling a web service that exposes the ID you are looking for. Make sure you leave the ''automatically retrieve data when form is opened'' checked so the web service will be called to get the ID after the form has been opened from SharePoint.
-
Have you tried selecting a node that is visually at the top of the form using the .SelectNodes() method? That may scroll you up to the top.
XDocument.View.SelectNodes(''my:NODE_AT_THE_TOP_OF_FORM'')
-
Just my input, but I have not tried to build complex objects in a web service and then expect a client, like InfoPath, to use that complex object in a web method call. From a design point of view, that may not be the best approach. You would be coupling the web service and the InfoPath form. Suggest using pure XML to pass data to and from the ...
-
Sure...Check out these InfoPath tutorials on MSN website. They show how to create a simple web service and connect to an InfoPath form.
- Lab 8: Data Sources in InfoPath 2003 -http://msdn.microsoft.com/library/en-us/odc_ip2003_tr/html/odc_INF_Lab_08.asp?frame=true&_r=1
- Lab 9: ADO.NET DataSets in InfoPath 2003 ...
-
This is what he means...it is VBScript but you can get the point...
'===========================
Sub ReLoadForm()
'load the template xml that is generated by the Designer
Dim domTemplate
Set domTemplate = CreateObject(''MSXML2.DomDocument.5.0'')
domTemplate.async = false
domTemplate.validateOnParse = ...
-
Agree with you completely. I personally would not advise the usage of a SharePoint list but that was what you were asking about.
Suggest from a scalability standpoint that you move to a web service to return your data. That will decouple your from future changes to your data source. For example, you switch from SQL Server to Oracle or SAP or ...
-
In my opinion, InfoPath is a great tool for building GUIs and it is built completely on an independant standard (XML, XSL, etc). For workflow, you will have to build some extra code to move the form from one user to another.
I have recently built a purchase approval process for a manufactoring company in 9 weeks using InfoPath for the GUI layer, ...
-
Use the OnAfterChange event on the Contact Name field. To quickly add an event, double click on the field, click on data validation button, there is an events dropdown, select OnAfterChange and press the edit button. In that event handler, go out to whatever datasource you have and get the e-mail address.
You cannot use the other two events ...