M
Mauricio
Hi,
I want to add a new row programatically to a repeating table.
I'm working with FormCode.cs class of .net framework to programming. I've
created IXMLElement to add to IXMLNode object that represents the repeating
table.
i.e.:
IXMLDOMNode docData =
thisXDocument.DOM.selectSingleNode("//myocumentsData");
IXMLDOMElement proc = thisXDocument.DOM.createElement("Process");
docData.appendChild(proc);
When Infopath forms runs, a message exception like:
System.Runtime.InteropServices.COMException
Element 'Process' is unexpected according to content model of parent element
'{http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-03-02T18:37:11}DocumentsData'.
Expecting:
{http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-03-02T18:37:11}Process.
Anyone have any idea???
DocumentData Expects Process element, and i pass a process element, but it
does not recongnize.
Any pointers would be really appreciated.
Regards,
Mauricio.-
I want to add a new row programatically to a repeating table.
I'm working with FormCode.cs class of .net framework to programming. I've
created IXMLElement to add to IXMLNode object that represents the repeating
table.
i.e.:
IXMLDOMNode docData =
thisXDocument.DOM.selectSingleNode("//myocumentsData");
IXMLDOMElement proc = thisXDocument.DOM.createElement("Process");
docData.appendChild(proc);
When Infopath forms runs, a message exception like:
System.Runtime.InteropServices.COMException
Element 'Process' is unexpected according to content model of parent element
'{http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-03-02T18:37:11}DocumentsData'.
Expecting:
{http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-03-02T18:37:11}Process.
Anyone have any idea???
DocumentData Expects Process element, and i pass a process element, but it
does not recongnize.
Any pointers would be really appreciated.
Regards,
Mauricio.-