Yes, it does work. However, i don't know why it doesn't work in my form when
it was designed in Infopath.
Do you know how i can resolve this problem without having to recreate the
form from scratch?
Hi Mike,
probably 1 of 2 solutions:
- your schema was corrupted.
- your schema was designed outside IP and is using a different namespace.
If you are willing to investigate:
Go in design mode, Go to File / Extract Form Files
open template.xml and look at the namespace at the root: is it <my:myFields?
You can do it with your new form (that does work) and you can compare:
manifest.xsf
template.xml
and look for namespace issues/differences.
Regards,
Franck Dauché
> Yes, it does work. However, i don't know why it doesn't work in my form when
> it was designed in Infopath.
[quoted text clipped - 68 lines]
> > > > >
> > > > > None of them work and i'm running out of ideas.
Mike L - 16 Nov 2005 02:44 GMT
I've found the solution. My script was missing the following
XDocument.DOM.setProperty("SelectionNamespaces",
'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-07-04T01:51:06" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"');
Thanks for your help.
> Hi Mike,
>
[quoted text clipped - 86 lines]
> > > > > >
> > > > > > None of them work and i'm running out of ideas.