-
Thank you very much, Patrick!
-
Here is one way of adding a new row to the repeating table.
//write get the XML of repeating node into a string
string sRepeatingXml = ''<LogEntries><name>NameValue<name><age>Agevalue</age><LogEntries>'';
//create a Dom for the XMLNode
IXMLDOMDocument oXml = thisXDocument.CreateDOM();
oXml.async = ...
-
In the above example that i have give note that ''<my:group1>'' is a section which contains a node within it. Similarly you can have your fields inside that xml.
Agni
InfopathDev India
-
oh yeah forgot to mention, i realised i need to use:
XDocument.View.ExecuteAction(''xCollection::insert'', ''<table_name>'');
but where/when to specify the field values to be inserted?
-
Let say I have the following data source structure:
1. myFields
1.1 logGroup
1.1.1 logEntries (the repeating table)
1.1.1.1 name (the 1st field in the repeating table)
1.1.1.2 age (the 2nd field in the repeating table)
Does anyone know how to insert a row programmatically into a repeating table, such that each row to be inserted into repeating ...
-
I want to present all section and not only specific node in the section. My section contan table with fileds and text.
-
I'm trying to add entries to a repeating section programmatically just like the example Fully Editable Drop-Down List Box.
Like in the example, I built:
- a group (/my:myFields/my:logHistorySection/my:logHistoryGroup)
- a repeating section with an expression box inside the ...
-
quote:Originally posted by Lee
Hi,
I have a couple of questions. Using JScript how can i ge the username of the user filling out the form?
The second question has to do with full trust. There arerr only selected users in out office who have infopath, as such when they submit a form to a form library i want the form to also send a second copy ...
-
quote:Originally posted by Shanthi
It looks like ''WScript.network'' requires Full trust and therefore signing of the template if you want to publish the solution. The ''UserName'' method does not need the solution to be full trust. That is the reason we use this more.
Shanthi
InfoPathDev India
Is this true? My form still required me to have ...
-
If a node is an optional in the xml and in the Infopath UI then then that node will not be present in the XML by default. You can add this node in the code, when you add this node in the code that optional field will be seen in the UI.
Here is the sample to add a Node
string sXml = ''<my:group1 ...