简体   繁体   English

如何将到共享点列表的连接添加到单词插件

[英]how to add a connection to a sharepoint list to a word addin

how to add a connection to a sharepoint list to a word addin? 如何将一个共享点列表的连接添加到单词插件?

I'm trying to follow the word-addin microsoft InvoiceManagerSample and where they show the static data, I want to replace this data with the contents of a sharepoint list. 我正在尝试遵循Microsoft InvoiceManagerSample附加词一词,并且在其中显示静态数据的地方,我想用共享点列表的内容替换此数据。

what I need is some sample code to get to the list or some links to get the information from. 我需要的是一些示例代码以获取列表或一些链接以从中获取信息。

I've searched the forums and other places with little success. 我搜索了论坛和其他地方,但收效甚微。

thanks for your help... 谢谢你的帮助...

First of all you'll need to use SharePoint web API in order to get the information you require. 首先,您需要使用SharePoint Web API来获取所需的信息。
For this you'll need to refer to the following address in your SP site: 为此,您需要在SP站点中引用以下地址:
http://yoursitename/_vti_bin/Lists.asmx http://您的网站名称/_vti_bin/Lists.asmx
With this method you can retrieve information from sharepoint lists. 使用此方法,您可以从共享点列表中检索信息。 For more info go to: 有关更多信息,请访问:
https://msdn.microsoft.com/en-us/library/office/websvclists.aspx https://msdn.microsoft.com/zh-CN/library/office/websvclists.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM