-
Hello,
You are tying to open another form which is available in another machine and address is local folder address.
Whichever you are tying to open the form path is not available in that machine. It will work when you have .xsn or .xsf file in that path. Otherwise it will give error message.
Otherwise you can publish that form to SharePoint ...
-
Hello,
Can you check once that connection is available or not in Internet Explorer once before opening the form. (My connection)
Can you give more details on what type of connection it is ‘My connection'?
Whenever you are trying to connect that connection is not available or you don't have access permission to that connection.
-
Hello,
If you want to submit the form to database and SharePoint using one button then you should write the code for both submissions code in one button. Whenever user clicks on that button it will submits to SharePoint and Database.
-
Hello,
Can you check that data connection name is available in manifest.xsf file? Some times in manifest.xsf available that ‘dataObject' node. Make sure that related data connection should not there in manifest.xsf file.
Check once you might be having that secondary xml file in Resource Files. (Tools -> Resource Files).
-
Hello
Here is the code to submit the form to sharepoint,
Hello Welcome to the Forums,
Here is the code for Submit to SharePoint,
var sharePoint = XDocument.DataAdapters[submitAdapterName];
sharePoint.FileName = "File Name";
sharePoint.FolderURL = "SharePoint Libray Path";
sharePoint.Submit();
Note: The above code in ...
-
Hello Welcome to the Forums,
Here is the code you have to change as below,
Set fc = Application.XDocuments.NewFromSolutionWithData(objURL.Text, objURI.Text)
to
Set fc = Application.XDocuments.NewFromSolutionWithData(varXMLData, varSolutionURI, dwBehaviour)
varXMLData -> XMLDocument type of data
varSolutionURI -> URI of the ...
-
Hello,
Go through this link below,
http://www.infopathdev.com/forums/p/9849/34890.aspx#34890
-
Hello Welcome to the Forums,
Here is the code,
if (site == SPSite("<SharePoint URL>"))
{
SPWeb web = site.OpenWeb();
if (web != null)
...
-
Hello,
Thanks for letting us know you got solution by another link. Looking forward to your participation in our forum and helping you with your InfoPath projects.
-
Hello,
Thanks for letting us know. Glad to be of help :)