why is my Tab blank when i add it into microsoft teams? - microsoft-teams

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)

Related

Microsoft-Teams: Unable to test personal tab because of "There was a problem reaching this app" error

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.

MS Teams Personal tabs Apps can have subtabs/submenus in it?

Is that possible to add child tabs(similar to sub-menus) to a Personal Tab Apps in MS Teams? If not, is there any workaround to achieve this.
Please note we have used the App studio to build the app not the custom code.
(refer screenshot below)?
There's nothing like that in the main tab infrastructure, but -inside- your tab you could build whatever you like - it's just a normal web page. You could tabs, menus, etc. For instance, see how Planner has it's own top menu in the first screenshot over here: https://techcommunity.microsoft.com/t5/planner-blog/microsoft-teams-in-microsoft-365-government-gcc-now-includes/ba-p/360089

Open URL in Microsoft Teams tab

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.

Why can't I add a webresource to form in Dynamics CRM?

I am working with an on-premise instance of Dynamics CRM 2015. I have added web resources by creating them through the "Customize the System" window as well as by uploading them.
When I go to a form or dashboard to add these, it never works. I click Web Resource, find the web resource, fill out the form and submit and it just goes back to the Form edit screen and nothing happens!
No error is being shown or anything and it is driving me nuts! What am I doing wrong?
What browser do you use? Try to use IE because FF and Chrome have issues exactly with customization of forms.
I agree on using Internet Explorer. Or use debug tools marking the update always from server box, as it is a cache problem.

Navigate to an external URL from CRM 2015 form

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.

Resources