1

I would like to get data from the SharePoint site, but I don’t know if it is possible by using JavaScript or PHP or something else. After getting this and saving it in variables, I would do different stuff with it. Most of the data is related to agriculture.

I guess I would have to get connected to the SharePoint site and then access the different data tables. Probably the same idea as retrieving data from a different Database.

Is it possible to do this?

0

You can do this by multiple ways

i) JSOM

ii) CSOM

iii) REST API

You can do farther research.

https://msdn.microsoft.com/en-us/library/ff798473.aspx

https://msdn.microsoft.com/en-us/library/office/fp179912.aspx

Go through Links for REST API

https://msdn.microsoft.com/en-us/library/office/jj860569.aspx

https://msdn.microsoft.com/office/office365/HowTo/examples-of-office-365-unified-api-calls

https://codeplayandlearn.wordpress.com/2015/07/07/53/

| improve this answer | |
0

If you are trying to access sharepoint data from outside of sharepoint, (ie in a .net application / android app etc), then you need to consume the client object model or the web service exposed by sharepoint.

This Discussion has a pretty detailed explanation towards using authentication.asmx to get a token that can be used for intearaction with sharepoint. You would need to pass credentials in order to get the token.

If you are looking to leverage the CSOM, sharepoint client side API, then you need to add, Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll and then proceed to initialize a context with SharePointOnlineCredentails for o365 enviornment, or NetworkCredentials for sharepoint On Premise enviorment.

You should go through links mentioned by Kaushal in order to get a better idea.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.