[英]Upload Document to a sharepoint 2010 library using jquery from external MVC application
What are the ways to upload document to a SharePoint 2010 library using asp.net MVC 4 application (coded in jquery). 使用asp.net MVC 4应用程序(用jquery编码)将文档上载到SharePoint 2010库的方式有哪些。
The SharePoint site is a hosted as a separate site and my web application is hosted on a different site. SharePoint网站作为单独的网站托管,而我的Web应用程序托管在其他网站上。
I could use SharePoint web services but I want to code the entire upload using jquery. 我可以使用SharePoint Web服务,但是我想使用jquery对整个上传进行编码。
I need to call the web service in my external asp.net application Upload the document with the meta data into the SharePoint site. 我需要在外部asp.net应用程序中调用Web服务。将带有元数据的文档上载到SharePoint网站。 Checkout/check-in an existing document using the windows credential
使用Windows凭证检出/检入现有文档
Is there any other way /resource of doing this. 还有其他方法/资源可以做到这一点。
Thanks 谢谢
SPServices from codeplex will let you call the SharePoint webservices relatively easily from jQuery. Codeplex的SPServices将使您可以相对轻松地从jQuery调用SharePoint Webservices。 The CopyIntoItems call can be used to put a base64 encoded document into SharePoint and then edit the metadata after that.
CopyIntoItems调用可用于将base64编码的文档放入SharePoint中,然后再编辑元数据。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.