I want to open a link in the static tab from a bot conversation. I used deep linking for this and created a link like https://teams.microsoft.com/l/entity/{TeamsAppId}/{TeamsTabId}?webUrl={myURL}.
The problem is that it opens the URL first in the browser asking with which app to open it with. Then, I have to click "Open in Microsoft Teams" and it opens it in the MS Teams tab.
How can I get rid of this and open the URL directly in the tab?
The manifest part that creates the static tab is
"staticTabs": [{
"entityId": "com.my.tab",
"name": "MyTab",
"contentUrl": "https://dev.my.com/#/start",
"scopes": [ "personal" ]
}],
In the example above, TeamsTabId is com.my.tab.
Related to this annoying feature, is Outlook Microsoft Teams links first opening in a browser tab. Anyone coming here please add your vote to the uservoice request to remove that:
Deep links in bot conversations only work from card buttons today, not the text. We will fix that at some point but we don't have a date to share.
Instead of https, try replacing it with msteams. It will directly open in MS-Teams app.
When you use msteams prefix, instead of https, the prompt menu will show like :
If you open these links from within Teams, it does not show the intermediate browser page (which we call a launcher page). But if you open it from a web page or an email message for example, you will see the launcher page.
Deep links work across all devices but there’s no way to avoid the intermediate launcher page on Windows/Mac.
Related
I have created an app using manifest editor where I have generated the ID and I have configured the personal tab to open a public website "https://www.ibm.com/in-en"
I have downloaded the zip of the app
I have uploaded the app to teams and the app is shown in teams
When I click on the app and then click open to load the personal tab, I get the issue as mentioned in the image:
Could you please check if you have the "showloadingindicator" field set to true in your manifest? Could you please try removing it and uploading the app manifest?
I had the same issue, and removing the "showLoadingIndicator" fixed it, but while it sorted out the immediate problem, it didn't help understand why it was incorrect.
tl;dr : you need to call microsoftTeams.appInitialization.notifySuccess() inside your tab, but if you want more info, see my question/answer over here: Personal Tab Renders Fine, then a few seconds later shows "There was a problem reaching this app"
This wouldn't apply in your case as you're pointing to a public website, but if it was a custom tab, then the fix would help and also allow the "loading" indicator to be used.
I want to show a task module (not url) while bot installs (with tab) in the teams. Something like Text does, but a bit more interactive with drop downs and all.
I have referred to the link to create deep link for tab and paste the link here, in app-studio manifest editor:
But this doesn't seem to work. Only an empty pop up shows following this procedure.
Can someone correct me, where I am going wrong! TIA!
This "Text" screen is not showing a Task module, it's showing a custom Configuration page for the app's Tab installation. When you create an App that includes a Tab, you have the option of creating such a "Configuration" popup that gives the user the chance to configure how your tab will actually work. See here for more: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/create-tab-pages/configuration-page
Within that configuration page, you can show whatever web content you'd like. Showing an Adaptive Card is a bit of a strange scenario considering it's a web page, but you could conceivably do this using the adaptive cards js library inside the page (https://www.npmjs.com/package/adaptivecards)
I just found out about navigateCrossDomain of the teams sdk but since it is deprecated and will not work in the future I am searching for an alternative or the correct way for my goal.
What I want to do:
Having an app with a static (private) tab. The tab is just a static html page with a bunch of links to sharepoint pages. This links currently won't open in teams directly since the X-Frame-Options are set to sameorigin. But when the user clicks a link on the page and it starts the navigateCrossDomain function with the SharePoint url as parameter, it will work and the page will open in the teams tab correctly. Is there a better/future-proof way to achieve this?
i followed the documentation to add a tab. but when i added it into my team, a blank page is displayed.
My webpage can be iframed. how can i resolve it?
have you checked validDomains in your menifest.json? the domain of your webpage should be added into validDomains.
if it is ok, you can use teams web to debug it(Chrome F12 developer tool)
Do we have a supported way to navigate to an external URL (Payment Gateway, another application) from CRM 2015 form in the same tab/window? We would also need the script to be compatible with all the browsers and devices. I have also tried my luck using window.location.redirect, window.location.replace, window.location.href, showModalDialog, so on. The redirect URL is always appended with my CRM organization's URL.These are anyway unsupported in CRM 2015 as per MSDN. Any help would be much appreciated.
You can use the built in form customization to add a navigation link. Simply go into the CRM Form customization, click on "Navigation" on the ribbon, and then click on the Insert tab of the Ribbon and Click on Navigation Link. You can then edit the Navigation Link Properties and give it a name, change the icon if you wish, and specify the External URL you wish to navigate to. Then save and publish the customizations. If you wish to use something from the current record to dynamically build a URL to put in this Navigation Link, the solution given on this page should still work in CRM 2015 even though it was originally written for CRM 2011 - http://www.crmanswers.net/2013/03/dynamic-navigation-links-using.html .
It seems like opening an external page in the same tab/window is not supported by CRM 2015. I had to use window.open to open the page in a seperate tab/window and is supported by all the browsers.