I need a solution that creates an InfoPath instance form from an XSN template that exists on a SharePoint server, I am using this approach but this extracts template files on temp directory of server that we may not have write permission to. Is there better solution for this?
相关问题
- Sharepoint multiple connections to a web parts
- Trouble with OR in Sharepoint CAML
- List Microsoft Sharepoint Sites with Microsoft Gra
- How to use VBA or Powershell to export lists from
- redirect using itemreceiver sharepoint
相关文章
- How To Get The Value Of Header In CSV
- File Upload to SharePoint 2013 using REST API
- Passing file object to Web API from Javascript
- How can I iterate recursively though a sharepoint
- SharePoint, VirtualPathProviders and Application R
- Saving a document to SharePoint brings up “Web Fil
- SharePoint SOAP GetListItems VS jQuery - How to us
- Trying to upload files to subfolder in Sharepoint
You just change the CAB-library, to one that can extract the template file to memory, as this one,
Minimum C# code to extract from .CAB archives or InfoPath XSN files, in memory
And then call,
myCab.ExtractFile("template.xml", out buffer, out bufferLen);
the complete code would look something like