How to open a file in the Custom spfx teams tab in MS teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1774566%22%20slang%3D%22en-US%22%3EHow%20to%20open%20a%20file%20in%20the%20Custom%20spfx%20teams%20tab%20in%20MS%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1774566%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20created%20the%20custom%20teams%20Tab%20using%20spfx%20to%20list%20all%20the%20files%20in%20my%20own%20desing%20in%20the%20MS%20teams.In%20that%20while%20clicking%20the%20file%20i%20need%20to%20open%20a%20file%20as%20same%20as%20we%20open%20the%20file%20in%20%22%3CSTRONG%3EFiles%22%20%3C%2FSTRONG%3Etab.I%20tried%20setting%20the%20top%20url%20for%20the%20page%20%2C%20also%20many%20other%20work%20around%20but%20no%20luck.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eso%20can%20anyone%20suggest%20me%20how%20to%20open%20the%20file%20from%20the%20custom%20SPFX%20MS%20Teams%20tab%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1774566%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

I have created the custom teams Tab using spfx to list all the files in my own desing in the MS teams.In that while clicking the file i need to open a file as same as we open the file in "Files" tab.I tried setting the top url for the page , also many other work around but no luck.

 

so can anyone suggest me how to open the file from the custom SPFX MS Teams tab?

0 Replies