-
Hi Thierry,
Sorry for the delay here. You will have to do the equivalent of an AppExec command to launch InfoPath and specify the the xsn file as a parameter. It's totally possible from code.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi,
XDocument.SaveAs(''c:\\\form1.xml'');
SaveAs only work if it Trusted form, so you should make form as a trusted form.
erwin.
-
Hi Hollis and welcome to our forum!
I doubt the manifest could help here because. My guess is that InfoPath does not parse references to the form's fields (xpath lookups on the DOM) when it parses the printSettings element.
We tried to add field values to footers and headers over a year ago for one of our customers. It was impossible. We ...
-
This is very cool. Can you send me some screenshots?
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Something like the VB.NET code below:
If (e.Operation = ''Remove'') Then
Return
End If
''e'' is the eventObj.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
I'm not quite sure what you're trying to do here. Are you trying to get items from a column in a SharePoint List or are you trying to access data held within an XML document that is in a SharePoint Form Library?
If you are trying to get information from a SharePoint list you can use the Data Connection wizard to get that rather easy, try ...
-
SharePoint uses locks on forms. There are several threads on this issue. Please search the forum (upper left hand corner). You may want to verify that it is a locking issue first. The SharePoint lock is 10 minutes long. Make sure the first user closes the form. Then see if the second user can open. If not, wait 10 minutes and have them try again. ...
-
Hi Lars amd welcome to our forum,
I believe Matt Faus will post a HowTo related to querying values in SharePoint soon. He'll probably be able to point you in the right direction. Also, chapter 9 in our book is a good resource.
-
Thanks AndersR for the insightful response!
Sumeet, in addition to what Anders said, you may want to switch the InfoPath form to a read-only view for people who don't currently have the form assigned to them. Use a field on the form to capture username and ID (per SharePoint). In the Designer, add a role for Form Editor and Form Viewer. In ...
-
Hi again Lisa,
Can you paste in your latest code so we can check it out?