Excel Workbook对象到SharePoint文档库 [英] Excel Workbook object to SharePoint Document Library
问题描述
我编写了一个可生成excel工作簿并将其写入SharePoint文档库的应用程序.现在,我将生成的Excel文档保存到临时文件夹,并使用SharePoint Copy Web服务将其写入SharePoint文档库,然后再将其从temp文件夹中删除.
我想将excel工作簿对象直接写到SharePoint文档库,而不是将整个工作保存到temp文件夹,然后再上传到SharePoint,然后再删除.
我无法在盒子上安装SharePoint对象模型,所以这就是我使用SharePoint Web服务的原因.除了SharePoint对象模型之外,是否可以使用Web服务或其他方法来做到这一点?
谢谢!
AnnC
Hi,
I''ve written an app that generates an excel workbook and writes it to a SharePoint document library. Right now I am saving the generated Excel doc to a temp folder and using the SharePoint Copy web service to then write it to the SharePoint document library before deleting it from the temp folder.
I''d like to write the excel workbook object directly to the SharePoint document library rather than going through the whole business of saving it to a temp folder before uploading to SharePoint and then deleting.
I cannot install the SharePoint object model on my box, so that''s why I am using SharePoint web services. Is there a way to do this with web services or something other than the SharePoint object model?
Thanks!
AnnC
推荐答案
这可能对您有帮助: ^ ]
This might help you: MSDN Link[^]
这篇关于Excel Workbook对象到SharePoint文档库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!