个人选项卡呈现良好,然后几秒钟后显示“访问此应用程序时出现问题"; [英] Personal Tab Renders Fine, then a few seconds later shows "There was a problem reaching this app"

查看:149
本文介绍了个人选项卡呈现良好,然后几秒钟后显示“访问此应用程序时出现问题";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在个人选项卡中测试某些内容(与 SSO 相关的内容,如果这在上下文中很重要的话),并且该选项卡呈现良好约 30 秒左右,然后突然被错误替换出现问题到达此应用程序"(带有女性形象和思想泡泡的那个).有谁知道为什么在选项卡已经呈现正常后会突然发生这种情况?

I'm testing something in a personal tab (something related to SSO, if that's important in context), and the tab renders fine for about 30 seconds or so, then suddenly gets replaced with an error "There was a problem reaching this app" (the one with the image of a woman and a thought bubble). Does anyone know why this suddenly happens AFTER the tab has ALREADY rendered ok?

推荐答案

我终于找到了这个问题的答案,所以发帖以防其他人遇到问题.基本上,团队清单最近添加了一项功能来显示加载/进度指示器,以向用户显示您的选项卡仍在加载.它在清单中显示为showLoadingIndicator".并且是布尔值(真/假).当然也可以在App Studio中设置,如下图所示.

I finally found an answer to this, so posting in case someone else has the issue. Basically, Teams manifest recently added a capability to show a loading / progress indicator to show users that your tab is still loading. It shows up in the manifest as "showLoadingIndicator" and is boolean (true/false). It can also be set in App Studio of course, as the image below shows.

问题在于SDK"App Studio 中显示的链接完全没用 - 它链接到 GitHub 上的 Teams js 库,所有地方!它应该转到本页的这一部分,其中解释了如何处理用它.我最初只调用 microsoftTeams.appInitialization.notifyAppLoaded();,但我还需要调用 microsoftTeams.appInitialization.notifySuccess().

The problem comes in that the "SDK" link shown in App Studio is flat-out useless - it links to the Teams js Library on GitHub, of all places! It should rather go to this section of this page, which explains how to deal with it. I was originally only calling microsoftTeams.appInitialization.notifyAppLoaded();, but I needed to also call microsoftTeams.appInitialization.notifySuccess().

这篇关于个人选项卡呈现良好,然后几秒钟后显示“访问此应用程序时出现问题";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆