-
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.
-
After saving the form to some location You can set the link in the Email Introduction in the following way and send the mail.
EmailAdapter oEmail = (EmailAdapter)thisXDocument.DataAdapters[''emailnotify''];
oEmail.Intro = ''LINK'';
oEmail.Submit();
-
DOM is not readonly. You can get the nodes from DOM and modify values of those nodes.
-
Hi Trevor,
Welcome on board!
Did you try to debug the solution when it is published to networklocation?
Some security Exception might be raised before getting the UserID. When you Preview you will have more privileges that might be the reason you dint see the error.
-
Ok I think now I got your problem, there is no way that Forms will look into updates in your Navision changes and update themselves without opening the forms.
Only thing that can help you doing this you writing a tool that updates the forms with the new data.
-
Hi Buki,
thisXDocument.DOM.selectSingleNode(''/my:training_administration/my:courses/my:course/my:id'')
is not returning the node. Probably your XPath might be wrong. One thing you need to note here is XPath is case sensitive.
-
Hi SAM,
If you are trying to connect to a secondary datasource why are you setting command value to XDocument.QueryAdapter?
You have to set it to XDocument.QueryAdapters[''ConnectionName''].Command = ''query'';
and do a query on XDocument.QueryAdapters[''ConnectionName''].Query();
-
I am not much aware of the stuff that you are doing.
But there is a HowTo that is written by Jim on how to pass parameters, hope this Helps.http://www.infopathdev.com/howto/tutorials/default.aspx?i=af9e48a6e43c41f4be62296a7fa0e494