The issue you're describing is coming from the fact that the nodes do not exist in the XML. If a node doesn't exist in the XML, InfoPath controls have nothing to edit. In your generation script, you need to make sure that all nodes that you want to be editable in fact exist.
Alternatively, place stuff that may or may not be there inside optional sections.
"okaminer[ at ]gmail.com" wrote:
[Quoted Text] > Hello, > I'm generating InfoPath automatically and add it to SharePoint. > During my InfoPath XML construction fields that didn't have data in > where left out of the XML > > > The problem is this: > In the one server everything worked great and when I opened the > InfoPath the program added the missing fields by her self. > > But > Now when I'm in the Production and I open the InfoPath the missing > fields are not been added automatically and the users can't insert data > into them > > If Anyone has any idea what this problem is please let me know.. > > Thanks > >
|