-
So when you got it to work in the new view, did it also work in the old view.
What I really was asking was for you to start completely from scratch with an entirely new different form. Completely leaving your existing one out of the picture. I wanted to know if this happens when you try to create a new blank form from scratch. This information is ...
-
-
Hi Chris and welcome to the forums!
I'm not sure why this isn't working, I've included default values for secondary data sources several times. What kind of secondary data source is it? An XML Document that is included in the form?
-
Actually I take that back when I pass into an array, it gives no error but all of the array's elements are empty.
Thanks
-
I have a field within a secondary datasource that I would like to use as the default value for a field in my form's Main datasource. I used an expression box to verify my query returns the correct results from the secondary datasource. I then copied this query into a TextBox control's default value property, but the data is not populated on ...
-
Hi Agni,
Thanks for you response. It's strange that is how I started this whole process. I first tried with arrays of Strings and used the 'send this pass String' option in Infopath. I also tried passing into an array of XmlElements and not as Strings. In both cases I would only recieve the first value. This has been a pretty frustrating ...
-
Yes you can set url in the onload method using the following code
WebServiceAdapter2 da;
IXMLDOMDocument xmlOperation;
da = (WebServiceAdapter2)thisXDocument.DataAdapters[''dataadaptername''];
xmlOperation = thisXDocument.CreateDOM();
xmlOperation.loadXML(da.Operation);
xmlOperation.documentElement.selectSingleNode(''@serviceUrl'').text = ...
-
I think your XPath should look like
../preceding-sibling::d:Vorgang[1]/@Benutzer
When you are looking for data from one of the preceding sibling, you should not write the full xpath.
-
If you want to change Schema for a schema which is created by a webservice connection, you cannot change the schema without extracting the files because Schema gets locked when it is prepared by an outside entity other than InfoPath.
-
Try out by changing your webservice to accept input parameter as an array and you can pass multiple query values as input.