Use our Google Custom Search for best site search results.
Search
-
Hi Kssaw,
The reason it failed is, other user who is trying to access the webservice dint have permissions on that site. So the error message returned will be in some other form(most probably html) which is not a valid XML.
Once you have administrator privileges you are able to access the data and you dint get the error message
-
Hi Micky,
I would suggest you write some code to retieve the Email address.
1. Take a DB Data connection from the InfoPath design mode
2. Write an OnAfterChangeEvent for the textbox field.
3. Get reference to the data connection created in step 1.
ADOAdapter2 adoAdapter = (ADOAdapter2)thisXDocument.DataAdapters[''Data Connection ...
-
Hi,
Here is the code to set timeout for a Webservice connection.
WebServiceAdapter2 wbserviceAdapter = (WebServiceAdapter2) thisXDocument.DataAdapters[''connection name''];
wbserviceAdapter.Timeout = 1234;
You will also have a similar option in ADOAdapter2(DB connection) also.
-
If you are looking for other forums google with ''InfoPath Forums'' as your keywords. There you will get a list and I think google itself ranks as per their ratings.
-
You can call emailadapter.Submit method in the OnSaveRequest() event.
-
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.
-
As I said before you cannot set ''xml'' value directly.
So what you need to do here is get the xml string from the webservice and prepare a node out of that, get all child nodes of that new node and assign them to the richtext field.
-
No you need to get it by string manipulations. Like getting the string after the last ''/''
-
Userroles work only in Domain(Active Directory).
Other way to implement is using the sharepoint username(Hinders performance, because there will two calls to sharepoint).
One other way you can do workflow is, maintain a state and base your workflow based on the state. So you will not use logged in username at all. But anyone can access this form ...