I'm trying to troubleshoot some unexpected differences in how my app works.
Context:
I've built an app that is being used on browser and mobile, and I'm looking to embed it in Teams as well. I had the idea of changing how the Launch() functions for some links and buttons within the Teams tab to keep the user on that tab (changed target the LaunchTarget.Replace) depending on whether they're access the app through Teams or not.
I've gotten the deep-linking portion down (having the app on a website tab with a "?TeamsVar=1" at the end of the url--since the Power Apps tab/connector doesn't allow for passing parameters as far as I could see). This parameter then gets passed to a global variable, which is used as the variable for If/Then statements on my different buttons and links' OnSelect property in a pretty simple format:
If( varTeams = 1, Launch("url", {Teams:1}, LaunchTarget.Replace), Launch("url") )
The Issue:
The code works great on when using the Teams desktop version, the launch commands function exactly as expected without affecting the standard way that my users are access the app. However, when testing this on the online version of Teams (accessing it through the office.com/ portal) those same launch commands no longer work at all. They don't open in a new tab, and they don't launch the URL at all.
Has anyone else encountered this kind of issue?
User | Count |
---|---|
232 | |
109 | |
94 | |
58 | |
29 |
User | Count |
---|---|
292 | |
126 | |
106 | |
62 | |
57 |