-
Hello leGeneral, I have done this with JScript before and it's not too bad. You'll want to look at the cloneNode() and appendChild() of an XML node object.
var oDocument = XDocument.DOM.selectSingleNode(''/my:myFields/my:Document'');
oDocument.appendChild(oSamplePage.cloneNode(false));
This HowTo has some code snippets that performs XML ...
-
quote:Originally posted by Matt Faus
Hi Paul and welcome to the forums! I don't see anything blaringly wrong with this - what error are you getting?
The Error:
XDocument.DOM.selectSingleNode( . . . ) is undefined
-
Hello chimera02b! This has always been a big complaint about InfoPath - lack of print support, but there are some workarounds. This was the first big problem that I had with InfoPath and after working through it, I wrote this HowTo:http://www.infopathdev.com/howto/tutorials/default.aspx?i=80c11a66b08a4572bc2b17f391319a0f
For a little more ...
-
Hi Paul and welcome to the forums! I don't see anything blaringly wrong with this - what error are you getting?
-
Hello lotusvball! Where are you putting this button to pop up the message box? My guess is that you will probably have to use the current() function to get at the appropriate values that you are trying to perform the lookup with, but I would like to know a little bit more about the schema of the form and what exactly you are trying to do.
-
Hey Eric,
Which example form are you trying to use? You might try opening the form in design mode and changing the data source connection to point to your own SQL server.
-
Let me clarify my needs. I have a large table that spans multiple pages. I need to be able to have the header for the table to show up on each new page. I know this can easily be done with a program like word. is there a way to mimic this in infopath? any help will be much appreciated.
-
I am extremely new to Infopath, but learning by making mistakes.
Here is the code I have so far:
function XDocument::OnLoad(eventObj)
{
XDocument.DOM.selectSingleNode(''/myFields/CallAuditID'').text = System.Guid.NewGuid()
}
Any assitance would be great. I have read up on the forums, but still confused.
Paul
-
-
Hi,
It doesn#%92t not work when u publish to your local machine and open the form. It work only on share point server
Hope this help You.
Thank you,