-
Hi,
I use the form like a normal user (not in design mode)in fill out mode
In my form I make a query in a webservice and after I copy all the result in the primary datasource. my code:
IXMLDOMDocument2 oDomSearchHRG = (IXMLDOMDocument2)thisXDocument.GetDOM(''getAV'');
oDomSearchHRG.setProperty(''SelectionNamespaces'', ...
-
I have an Infopath form that receives 100 rows, to display this on the UI at the same time causes perfomance issues therefore I have two datasets, one to store the information in the background (memory) and one that is bound to the UI.
I only show 10 records at a time and thus have controls on the form where a user can request the next 10, ...
-
Hi Patrick and Agni,
Thanks a lot for your help!
I know now how I can do!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
-
What particular security exception are you seeing? And is your form digitally signed with a trusted root certificate?
Jim Cantwell
InfoPathDev - Redmond
-
Hi christophe,
We can use such DLL in the infopath form.It worked for me by following the steps below,
1) Go to VisualStudio.NET
2) Click on ''Add Reference'' in Project menu
3) Select .NET tab and click on the Browse button
4) Select the DLL file and click Ok
5) Now go to the infopath code and then import ...
-
Hi Speddi,
On which line you are getting error here.
Try this out and let me know, on which line you are getting the error.
IXMLDOMDocument3 domXML = (IXMLDOMDocument3) thisXDocument.DataObjects[''getPatient''];
domXML.setProperty(''SelectionNamespaces'', ''xmlns:dfs=\''http://schemas.microsoft.com/office/infopath/2003/dataFormSolution\'' ...
-
HI Speddi,
Your xpath in
IXMLDOMNode QueryInput = objDO.DOM.selectSingleNode(''/s0:myFields/s0:queryFields/s0:getPatient/s0:SearchColumn'' );
looks wrong for me, you have used ''s0'' as prefix for 'myFields' and 'queryFields' it should have been ''dfs''.
Where as in IXMLDOMNode QueryInput1 = ...
-
Hi JeanPaul,
Unfortunately, this is true. This is one of the areas that are not supported in preview mode.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
The AD Service supports two methods: GetMyInfo and GetUserInfo. Here are steps to set up a sample form that queries GetUserInfo with a user-entered username string:
1. Start InfoPath
2. Choose Design a Form in left task pane
3. Choose New Blank Form from the right task pane
4. Tools->Data Connections->Add
5. Select Receive Data
6. Select ...
-
Hi! I am trying to query a data connection using C#.NET in InfoPath. I have a created a data connection in InfoPath to a web service. The web service accpts two parameters SearchColumn and SearchText. I try to do this using the code listed below.
DataObject objDO = null;
objDO = ...