1

Now, I want to extract file content using sharepoint REST api. My goal is: extract file metadata and entire file content (just pure content, no structures). After searching online, I notice I can use following three methods:

1.http://server/_api/search/query?querytext='sharepoint'

2.https//SHAREPOINT_HTTPS_DOMAIN/_api/web/GetFileByServerRelativeUrl('/Documents/ChilkatTest/japanese.csv')/$value

3.https://SHAREPOINT_HTTPS_DOMAIN/_api/web/GetFileByServerRelativeUrl('/Documents/ChilkatTest/japanese.csv')

But no matter what method, I cannot get file text content as I expected.

e.g For PDF or PPT file, there are lots of structures in them. But sharepoint could extract pure text content from PDF or PPT file. Now, I just wanna get those content.

So anyone could help me?

Thanks a lot.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.