首页 > 解决方案 > Microsoft Teams:需要在自定义选项卡中为 Sharepoint 文档提供“在 Teams 中编辑”

问题描述

Microsoft Teams:需要在自定义选项卡中为 Sharepoint 文档提供“在 Teams 中编辑”选项

我需要在包含文档库的自定义选项卡中提供“在团队中编辑”选项。

我尝试使用“microsoftTeams.executeDeepLink(' https://teams.microsoft.com/_#/docx/viewer/teams/https:~2F~2Ftenant.sharepoint.com~2Fsites~2FTestTeam~2FShared%20Documents~2FCustom~ 2FContractExecutableTemplate.docx?threadId=19:7ba74a73a2d04bb19bc417e52c1f5101@thread.skype&baseUrl=https:~2F~2Ftenant.sharepoint.com~2Fsites~2FTestTeam&fileId=603F7416-260C-44FA-AE8E-1E4B7D4C2AC0=文件查看器&x )

但它给出了错误,也直接打开了像

" https://teams.microsoft.com/l/_#/docx/viewer/teams/https:~2F~2Ftenant.sharepoint.com~2Fsites~2FTestTeam~2FShared%20Documents~2FCustom~2FContractExecutableTemplate.docx?threadId=19 :7ba74a73a2d04bb19bc417e52c1f5101@thread.skype&baseUrl=https:~2F~2Ftenant.sharepoint.com~2Fsites~2FTestTeam&fileId=603F7416-260C-44FA-AE8E-1E4B7D4C2AC0&ctx=files&viewerAction=edit "但它提供了启动器页面

由于没有关于 executeDeepLink 的适当文档,因此不胜感激。

标签: microsoft-teams

解决方案


推荐阅读