Teams in browers opens up new tab when Launch() function is used from within Power App (canvas) - microsoft-teams

I'm doing a custom Power App (canvas) that is used inside Teams as a Tab in a channel. This app has some deeplinks to other channels inside teams (the link url is copied from within teams and are verified and works ok). I'm using the Launch() function to do these deeplink redirects. I get the desired behavior in the Desktop and Mobile version of Teams, but in the browser version whatever I try it always open up the link in a new tab. I would like it to open up in the same window and keep the navigation context for a smooth UX.
I've tried booth LaunchTarget.New and LaunchTarget.Replace. Also used booth 'https://' and 'msteams://' in the deeplink urls. I would expect that the LaunchTarget.Replace would have done what I wanted, but it doesn't work.
The only way I've seen links working as expected in all three versions of teams (Desktop, Mobile and Browser). Is if I manually insert a link inside a message in a 'Posts' tab or if I manually insert a link inside a Wiki. If I do the same in for example a OneNote document it doesn't work and open up in a new Tab. Its quite inconsistent behavior.
Any help, info or workaround is appropriated.

Related

How do you link from a Personal Tab app to a Channel Tab app in Microsoft Teams?

Update
There's a bug in teams-js which is causing getContext to return an empty string for subEntityId, a required field for deeplinking to an app within a channel within a team.
Original Question
I have a requirement to link from a Personal Tab app to a Channel Tab app. Is this possible? If so, how do you do it? I couldn't find any relevant info in the docs.
Detail
We have an app which runs in the Channel Tab and the Personal Tab. If you're viewing our app from your Personal Tab, you'll see a list of items which when clicked should navigate to our app in a Channel Tab associated with the clicked item. The channel could be under a different team, but it will be in the same organization, and you are already a member of that team and channel.
You can accomplish this via Deep Linking. See more at https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-application?tabs=teamsjs-v2#generate-a-deep-link-to-your-tab but specifically here is an example cited in that page:
Link to a configurable tab itself:
https://teams.microsoft.com/l/entity/fe4a8eba-2a31-4737-8e33-e5fae6fee194/tasklist123?webUrl=https://tasklist.example.com/123&label=Task List 123&context={"channelId": "19:cbe3683f25094106b826c9cada3afbe0#thread.skype"}

deeplink to chat in microsoft teams app tab not working

I have a microsoft teams app. I'm working on creating a deeplink in microsoft teams from a tab in the app that goes back to the chat and it doesn't seem to be working.
It seems even if I point it the chat, when using deep links, it hides the chat and defaults it the the "files" tab
https://teams.microsoft.com/l/entity/app-id/app goes to the app tab
https://teams.microsoft.com/l/entity/app-id/contact goes to the contact tab
https://teams.microsoft.com/l/entity/app-id/about goes to the about tab
but
https://teams.microsoft.com/l/entity/app-id/chat goes to the files tab and the chat tab disappears
We are also aware that there is a current issue where using a deeplink hides the chat link so this could be related.
Documentation I'm using: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links

Are there any changes in the WebView related APIs in UWP or UAP Windows app?

I am having a Windows 8.1 supported app, but now it is updated to the UWP/UAP (i.e. Windows 10) app.
After updating the custom URI scheme is not working, On a button click on the web page, we were using "navto://" custom URI scheme and handling were done in a js file. The button action was bind through the anchor tag.
From this approach, we navigate our web pages forward/backward or used to send a user to a particular web page.
But now this js file is being not called on the click of the same button and a System Popup appear saying "You will need a new app to open this navto link". For reference, please have a look at the attached screenshot of the error popup. If anybody is familiar with the issue, please suggest me the solution.
Actually I followed this page to migrating the app https://learn.microsoft.com/en-us/visualstudio/misc/migrate-apps-to-the-universal-windows-platform-uwp?view=vs-2015#MigrateCSharp
And also tried other options as well by googling but I haven't got any perfect solution yet.
Thanks

Create a new tab instead of a panel

I have gone through the examples of Add-on SDK 1.5 yet haven't seen anything like a web page which the addon can interact with the user and get input from him. There are only dialogs called panels and I really would like to have a real page in a tab like in google-chrome addons.
Is it even possible with the Add-on SDK (1.5)?
Of course you can create a tab, you use tabs.open(). As to interacting with this tab - you probably want to register a content script before opening the tab. Just like you would do it with Google Chrome.

How do I implement a web linked button that will open inside of my iphone application (not open a link in Safari?

I have an iphone sdk application and want to tweak it.. as I've had a great idea on how I want my interface to appear.
I'm trying to create several buttons that will open a web page within my application but have failed to do so countless amounts of times now.
(I don't want the button to open a link in safari, I already know how to do this and it's not what I'm trying to achieve)
The application must not shut down in order to operate any links (i.e close down to open the link in safari as stated above.)
MORE INFO-----------------------------------
i already have the application and yes it is working and complete, however a while ago i decided that id like to change the interface on my application, but havnt been successful in doing so.
Currently i am using a webView based app which works perfectly, i have my website and another within the application (using a tab bar with two tabs within it).
Now i would like to completely re-model my app by starting from scratch..
using a uiwebview i want to place several buttons on the uiwebview page and have them as links which will direct my members to different sections of my website when pressed..
I have managed to do this but when the buttons are pressed, my application is closed and the link is then opened in safari, which is not what i want.
I would like the links to open within my application
Any ideas?

Resources