0

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.

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...

1 Answers1

0

First of all you'll need to use SharePoint web API in order to get the information you require.
For this you'll need to refer to the following address in your SP site:
http://yoursitename/_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

Adi Solar
  • 127
  • 1
  • 1
  • 13