-
Just my input, but I have not tried to build complex objects in a web service and then expect a client, like InfoPath, to use that complex object in a web method call. From a design point of view, that may not be the best approach. You would be coupling the web service and the InfoPath form. Suggest using pure XML to pass data to and from the ...
-
Hi,
I have installed Microsoft Infopath Toolkit for Visual Studio 2003 , designed a simple form and published the same in Sharepoint server. when i try to access the form from my sharepoint server it displays the following errors:
InfoPath cannot open the selected form because of an error in the form's code.
Execution permission cannot be ...
-
Hi all,
I have a form with several fields including some closed in a repeatng section.
i added a button that by user role can change the status of the controls to REad-only
what i want to acheive is that IP will let me ''lock'' each instance of a repeating sec seperatly (now all the instaces are closing).
Is it possible to do it?
Thanks a lot in ...
-
Hi,
I have read this topic:
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=313
I want to add a attribute optionnal but define by my custom schema!
My Code:
IXMLDOMElement oElement = (IXMLDOMElement)NewMut;
IXMLDOMAttribute Aenderung = (IXMLDOMAttribute)NewMut.ownerDocument.createNode((int)DOMNodeType.NODE_ATTRIBUTE, ''Aenderung'', ...
-
Shanthi, I've tried your method of calling a receive data connection. Here's the OnSubmit code I use :
IXMLDOMDocument2 objSendXMLNode = (IXMLDOMDocument2)(thisXDocument.GetDOM(''insererContenu''));
objSendXMLNode.setProperty( ''SelectionNamespaces'',
''xmlns:s1=\''http://joelallxp.microsoft.com/schema\'' '' ...
-
Ok I havec found:
../preceding-sibling::AVel[position()=1]//PersDaten[(../../@valid) = '1' and (../../@loe != ../../../../../@nextRef)]
I have but this in view.xsl in place of the expression that I have before and That work Great!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
-
ok I have understand now (after have read 100 times your answer)
The answer is:
IXMLDOMNode loesch= thisXDocument.DOM.selectSingleNode(''/CaseList/Case/AV/AVel/PersBisher/Person[Personalien/PersDaten = ../../../AVel/PersNeuMut/PersListe]'');
IXMLDOMDocument domXMLNode = (IXMLDOMDocument)thisXDocument.CreateDOM();
domXMLNode.async = ...
-
Hi,
Thanks for your answer
I'm not sure to good understand but why I can say:
Person is a type (in the schema PersType) and you can find it in PersNeuMut and in PersBisher:
<?xml version=''1.0'' encoding=''UTF-8''?>
...
<AVel>
<PersBisher>
<PersListe/>
<Person Aenderung='''' Ein=''6'' loe='''' mut='''' seq='''' ...
-
If you see ''loesch'' is the person node and ''oParentNode'' is also person node, and your schema does not allow this.
Agni
InfoPath Dev India
-
Ok I have understand what is getParentNode()
it's a selectsinglenode of the reapeating section!
But now I have an error in the last line:
oParentNode.appendChild(domXMLNode.documentElement);
that make me the following error:
quote:System.Runtime.InteropServices.COMException
Element 'Person' is unexpected according to content model of parent ...