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

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.

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.