My scenario is:
I am creating a number of apps for different departments within my organisation. I don't want to lump them all together in a single app for ease of ongoing management. My idea is to create a menu app that links off to the app required using the Launch function.
I have configured my launch function in a number of different ways to attempt to have the apps open in the same window as the menu - ie LaunchTarget.Replace eg:
- Launch("/apps.powerapps.com/play/xxxxxAPIDxxxxxxx?tenantId=xxxxxxxxxxxxxxxx&hidenavbar=true",{},LaunchTarget.Replace)
- Launch("/providers/Microsoft.PowerApps/apps/xxxxxAPIDxxxxxxx",{},LaunchTarget.Replace)
you get the picture...
On publishing the app, my test buttons with the launch functions above do not work from a pinned app in the Teams environment. The buttons click with no action happening. The buttons will work inside a web browser. If I remove LaunchTarget.Replace and use LaunchTarget.New or nothing, in the Teams environment the receiving app will launch in a new webpage in the web browser.
The launch is simple - no need to refer to records in the app being launched. Just go to the main screen identified in the app setup.
I know this works fine in a web browser, but ideally I need it to work in Teams as we are trying to push our organisation to use Teams more.