How to determine selected item from “Files” tab from within a custom Teams tab

Copper Contributor

I'm developing a custom Teams tab (using typescript, react, and sharepoint web parts) which can be added to any channel page (alongside Posts, Files...).

 

The ideal scenario would be that the user first selects an item in the Files section (eg. a folder), then opens the custom tab, and in there I can know what the selected item is.

 

Can I somehow achieve this ?

 

Thanks.

2 Replies

@serban - Adding extension points to Files sections are currently not supported. So option would be to allow user selecting file/folder from your Tab. Similar to what Hilton suggested on Stackoverflow.

@Wajeed-MSFT 

I see...

So, is this possible currently, or is it under development ?