-
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.
-
Hi,
you're right :) I missed a slash.
thisXDocument.DOM.selectSingleNode(''//my:training_administration/my:courses/my:course/my:id'').text
I'm so blind :) Sorry for bothering.
Regards,
Buki
-
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.
-
quote:Originally posted by trufooser
Change the @DOB to the field which contains the date of birth.
trufooser,
Thank you for that post. Its just what I needed, and didnt even have to change the data field. One more tool to add to my chest!
-
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();
-
Hello all,
Here is the scenario. One person with the same version of InfoPath as I sent me a schema to use. I successfully loaded this from the ''New from XML Documen or Schema...''. However, the schema is locked from editing.
I performed an experiment where I exported the schema from one of my forms and tried importing it into a fresh form. ...
-
Hey,
From the command prompt on the user's PC (Start/Run prompt):
''C:\Program Files\Microsoft Office\OFFICE11\INFOPATH.EXE'' /cache clearall
Or you can do the same from code within InfoPath but the form needs to be fully trusted (code is VBScript in a button's OnClick event):
Dim wshShell
Dim sRun, sParam, sMsg
sParam = ''C:\Program ...