fetch document content from Teams file

%3CLINGO-SUB%20id%3D%22lingo-sub-1093939%22%20slang%3D%22en-US%22%3Efetch%20document%20content%20from%20Teams%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1093939%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20working%20on%20the%20ReactJS%20app%20where%20I%20need%20to%20fetch%20data%20from%20the%20document%20which%20is%20uploaded%20on%20the%20Microsoft%20Teams.%20So%20my%20question%20is.%3C%2FP%3E%3CP%3E-%20Is%20this%20possible%20to%20fetch%20document%20content%20from%20Teams%20by%20javascript%3F%3C%2FP%3E%3CP%3EI%20tried%20the%20%22%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F41501%22%20target%3D%22_blank%22%3E%40microsoft%3C%2FA%3E%2Fteams-js%22%20package%20and%20did%20some%20RnD%20but%20didn't%20get%20any%20fruitful%20solution.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ENote%3A%20Our%20App%20is%20totally%20client-side.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1093939%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edocument%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EJavaScript%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EReact%20JS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1094416%22%20slang%3D%22en-US%22%3ERe%3A%20fetch%20document%20content%20from%20Teams%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1094416%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F508814%22%20target%3D%22_blank%22%3E%40abhineet292%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20the%20package%2Fcode%20details%20but%20the%20files%20are%20stored%20in%20SharePoint%20so%20you%20would%20be%20better%20off%20querying%20the%20SharePoint%20site%20to%20get%20the%20files.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAndy%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I am working on the ReactJS app where I need to fetch data from the document which is uploaded on the Microsoft Teams. So my question is.

- Is this possible to fetch document content from Teams by javascript?

I tried the "@microsoft/teams-js" package and did some RnD but didn't get any fruitful solution.

Note: Our App is totally client-side.

 

1 Reply

Hi @abhineet292 ,

 

I don't know the package/code details but the files are stored in SharePoint so you would be better off querying the SharePoint site to get the files.

 

Andy

www.000webhost.com