Forum Discussion

erdi kudu's avatar
erdi kudu
Copper Contributor
Oct 25, 2019

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

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?

  • 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

  • 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/

    • erdi kudu's avatar
      erdi kudu
      Copper Contributor

      Hi ChrisWebbTech ,

      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.

  • April Dunnam's avatar
    April Dunnam
    Copper Contributor

    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

    • erdi kudu's avatar
      erdi kudu
      Copper Contributor

      Hi April Dunnam,

       

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

Resources