SOLVED

How to get the channel id via PowerApps Form that is located in the Teams Tab

Copper Contributor

I will design a PowerApps form. I would like to put it into any channel tab. I will show the related information of the current channel from SharePoint via this PowerApps form. How can I get the channel Id and send it to the PowerApps form?

4 Replies
You Can't really do this dynamically very easily, but if you ware adding the form to a specific channel you could make use of URL parameters. But the issue is Teams tab doesn't support parameters currently. You could probably link the tab using website tab, to a powerapp directly and then pass in parameters to your app to achieve this but you might end up with a login prompt possibly on that website tab ( you would need to test that out).

check out this article on using parameters, you can pass the Name or the channel or whatever you want in the URL if the website tab will work for you, then you'll be able to do it with this.
https://blog.kloud.com.au/2017/10/17/how-to-pass-parameters-into-a-powerapp/

Hi @Chris Webb ,

I know the param feature of PowerApps. If I use the PowerApps form with a specific channel Id parameter, I can not make this form dynamic. So It wouldn't work for me. Thanks for your suggestion.

best response confirmed by erdi kudu (Copper Contributor)
Solution

@erdi kudu I know this is an older thread but wanted to let you know that passing Teams Context parameters to embedded Power Apps is now supported.  I have a video that highlights how to get some of these properties like the Group ID and Channel ID and use them in your embedded Power Apps to do deep linking:

https://youtu.be/TwrwTAa1ePQ

Hi @April Dunnam,

 

Thank you very much to give me this information. I used it on my project. It worked out. 

1 best response

Accepted Solutions
best response confirmed by erdi kudu (Copper Contributor)
Solution

@erdi kudu I know this is an older thread but wanted to let you know that passing Teams Context parameters to embedded Power Apps is now supported.  I have a video that highlights how to get some of these properties like the Group ID and Channel ID and use them in your embedded Power Apps to do deep linking:

https://youtu.be/TwrwTAa1ePQ

View solution in original post