任务模块不会关闭,点击团队客户端应用中的新消息通知弹出窗口

发布于 2025-02-10 22:31:16 字数 431 浏览 1 评论 0原文

我们已经创建了一个个人选项卡并打开一个任务模块。如果我们收到任何新的聊天通知(对于右下角的新消息弹出窗口),并且任务模块已打开,则该特定的聊天详细信息在后台打开,但是打开的任务模块弹出窗口未关闭。任务模块上的关闭按钮也无法正常工作,我们需要重新启动团队客户端应用程序。 以下是node.js中开始任务模块的代码 令url = window.location.origin +“/getData?” + id;让taskInfo = {url:url,标题:“获取信息”,高度:300,宽度:600,hallbackurl:url} microsoftTeams.tasks.starttask(taskInfo,(err,结果)=> {console.log(crist>提交处理程序 - err:$ {err}); microsoftteams.tasks.tasks.submittask();});

We have created a personal tab and opening a task module from that. If we get any new chat notification (for new message popup in bottom right side) and the task module is already opened, that particular chat detail is opening on the background but the opened task module popup is not closing. Close button on the task module is also not working we need to restart the Teams client App.
The below is the code for start task module in the node.js
let url = window.location.origin + "/GetData?" + id ;let taskInfo = {url: url,title: "Get Info",height: 300,width: 600,fallbackUrl: url}
microsoftTeams.tasks.startTask(taskInfo, (err, result) => {console.log(Submit handler - err: ${err});microsoftTeams.tasks.submitTask();});

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文