任务模块不会关闭,点击团队客户端应用中的新消息通知弹出窗口
我们已经创建了一个个人选项卡并打开一个任务模块。如果我们收到任何新的聊天通知(对于右下角的新消息弹出窗口),并且任务模块已打开,则该特定的聊天详细信息在后台打开,但是打开的任务模块弹出窗口未关闭。任务模块上的关闭按钮也无法正常工作,我们需要重新启动团队客户端应用程序。 以下是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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论