-
Hello,
Do a quickwatch on the ''wsDOM'' object and look at the ''xml'' property of that object. In the XML look if your xpath is correct. If your xPath is correct, check if you have set ''namespace'' to ''wsDOM'' is set correct(basically did you do call ''setProperty'' method in wsDOM).
-
thisXDocument.View.Window.Close(true);
Above statement closed the InfoPath window. You can add this statement after your save operation.
There are lot of forums which already have this. From next time please in the forums first, if you dont find an answer then post it here.
-
Im using a webservice to return a parameterised query. It works fine when i bind elements to it.
I want to set the control values without binding to this
//Requery the webservice datasource
thisXDocument.DataObjects[''GetData''].Query();
IXMLDOMNode nodeResult = ...
-
Hey all, I am looking for other InfoPath froums. So if you have the time, could you list the other InfoPath forums you use and maybe even rate them on a scale of 1 to 10?
Thanks!!!!
-
Good day all,
I would like for my infopath form to send an email using a data connection when the form gets saved.
So when a user is finished saving the document, I would like the form to automatically send an email to a data connection i have set.
Is there a way to do this.
Appreciate everyones's help on this!!!
Thanks!
Bernie
-
Good morning:
I have a button on my form that when clicked saves the xml document to a shared location on my network and creates a hyperlink in my CRM. In the same code I would like to close Infopath.
Is there a way to do this? If yes, can someone provide me the code?
Thanks!
-
Thanks Agni! I'll have to check that out. I appreciate the directions.
-
Excellent, thankyou Matt - now when I look at it that makes perfect sense.
-
Hi Adam,
You can change the service url by using below method. For this you should pass the ‘adapter name#%92 and ‘wsdl url#%92.
private void PutServiceURL(string dataAdapterName, string url)
{
WebServiceAdapter2 da;
IXMLDOMDocument xmlOperation;
//Get the web service adapter
da = ...
-
Hi Agni
Thanks a lot. Now it's correct.
Best regards.
Philippe