-
Hi,
you need to make a:
.setProperty(''SelectionNamespaces'', ''xmlns:dfs=\''http://schemas.microsoft.com/office/infopath/2003/dataFormSolution\'''');
On your object.
-
Hi,
Are you sure that is the same version of framework on your two machine?
-
Hello,
I have the following problem. If I want to install my form on another computer I get a error like this:
Microsoft .NET Framework is not installed or the primary interop assembly is not registered.
.NET Framework is installed but what about the PIA??? How can I see if it is registered and how can I register it?
Thanks
Osiris
-
I wish I was less hasty with my last reply...
I can't seem to get OnSubmitRequest() to be called under any circumstances once I've attached my form to the K2 Workflow.
Users are still prompted to submit a dirty form, and doing so bypasses the validation offered by OnSubmitRequest() or my custom code.
Hmmm. Problem not solved.
-
Thanks for your replies...
The form is K2 enabled, I'm using a button control on the main form to initiate the submission process to K2 and I've disabled the K2 task pane.
Maybe it's just me, but I've found that when submitting data to a web service using a button control on the form, the OnSubmitRequest() method isn't called. Therefore I ...
-
I am reading from a system registry hive to get a directory source where we'll save the resultant InfoPath data files.
...
Although your comment has given me an idea, if I use a secondary xml data source to pass that information along from our primary application to InfoPath, perhaps I can avoid having to have a fully trusted form?
D.
-
Hi David,
Not sure if this helps you but, try this one thing, disable save option in Tools->FormOptions->Open and Save, Uncheck ''Save and Save As'' checkbox. Click ok button, and test it out!
What happens if you disable ''Save and Save As'' checkbox is, InfoPath does not prompt user to save the form even when it is dirty in other sense if ...
-
Glad to hear you got it working!
Greg Collins [InfoPath MVP]
InfoPath Dev
-
Hey David...
Is this form K2 enabled? Are you still using the submit task pane that K2 injects into your IP Form?
One idea, which I have not tried, but should work would be not to use the task pane. Maybe you could try adding a button to your form >> Then go to general properties >> on the action dropdown, select submit >> in ...
-
Have never tried but do not see why it is not possible. Do you have access to the XML in .NET? You could load the xml into an XMLDocument object, make your changes and then open up the XML in InfoPath... Just brainstorming here...