-
The following is probably of interest to you:
http://www.infopathdev.com/blogs/agni/archive/2006/06/28/Open-an-InfoPath-File-from-a-Web-Page.aspx
-
The following was just written from memory and not tested. There might be some syntax errors in it, but it should give you a good idea of what needs to be done:
// Get a copy of the main DOM node.
var clone = XDocument.DOM.selectSingleNode("/my:myFields/my:PrimaryDataSource").cloneNode(true);
// Clear the main DOM ...
-
The Role property is a single value.
InfoPath walks through the role evaluation top-down. The first matching role is the one assinged. Therefore, you must always make sure to put the least restrictive roles at the top or users that are in more than one role will never get their full rights on the form.
In order to cycle through all existing ...
-
The Receive data connection is the right choice. Make sure you are setting the query parameters correctly before querying. The results are returned into the same data source.
-
There is a SignedDataBlocks collection that you can look into Each SignedDataBlock in the collection has a Signatures property which returns a collection of the signatures on that block.
The XDocument object has a Role property that you can look at.
-
If the calls you are making requires your form to be full trust, then you need to either make your form full trust, or you need to find another way to do what you are trying to do. That's really your only two choices. Well, there's a third, which is to not do it at all, but I'm assuming that is not really a choice for you.
-
What version of InfoPath and coding language are you planning to use? IP07 or 03? C#/VB, JScript/VBScript?
-
Thanks for sharing this with us!
-
-
You will certainly need code for this as rules does not allow for the insertion of new rows.
If you had the foresight to know you were going to do this, you could have ensured that the namespace used in Form A and Form B was identical, that would make copying from one to the other very simple. But in all likelyhood they are different. Therefore, ...