-
ExecuteAction is flaky at best. I say this because there are too many restrictions on when and where it can be used.
I you want to insert nodes into your DOM from code, just do it directly by creating the nodes in code, and then appending, or inserting them where they should go.
If you need help creating and adding nodes to a DOM, Visual Studio ...
-
Keep in mind that the data source is ENTIRELY independant from any view and control. If for example, you created your main data source using the InfoPath designer, then you would open the data source task pane, right click on an existing group or field and choose properties. From there you can specify that it is repeating. If you want to add a new ...
-
The receive DC should provide query parameters as well. Are you seeing a difference in the query parameters between a receive DC and a submit DC to the same data source?
-
disable the conditional formatting for a time and make both key fields visible in the view. Then do some testing to verify that you are getting the values you are expecting to get in each of the key fields. If the key field values are correct, then double-check the conditional formatting.
If that still doesn't work, let me know.
-
In IP03 you would use:
IXMLDOMNode xn = thisXDocument.DOM.selectSingleNode(XPath);
-
You can make them repeating in your data structure. Then it doesn't matter how many you need to add.
-
If you've verified that your function (prepareXmlNodeForAppend) is actually returning a valid XML node, then the problem is likely that you are not allowed, because of your schema, to add the node.
Was your data source created inside InfoPath? If so, then just add the nodes you want to your data source so that they are valid when you try to ...
-
The command syntax is correct. All I can think of is to verify that ''StringValue_XXXX'' is accurate for each.
-
Your main data source signature section should also be repeating. Then you need to have some key value that maps between your 2DS database row and your main DOM signature row. This will allow you to filter to only show the correct signature fields.
It will also require that when you first open the form (onload) that you populate the signature ...
-
Great! Glad you got it working so far as you have!