Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将bookdown文件夹发布到microsoft团队 创建一个团队选项卡,其web内容是链接html/aspx文档的文件夹,其中“登录页”是index.html/aspx。_Html_R_Microsoft Teams_Bookdown - Fatal编程技术网

将bookdown文件夹发布到microsoft团队 创建一个团队选项卡,其web内容是链接html/aspx文档的文件夹,其中“登录页”是index.html/aspx。

将bookdown文件夹发布到microsoft团队 创建一个团队选项卡,其web内容是链接html/aspx文档的文件夹,其中“登录页”是index.html/aspx。,html,r,microsoft-teams,bookdown,Html,R,Microsoft Teams,Bookdown,我希望web内容(以下引用)是我上传到团队的链接html/aspx文档的文件夹。(不是外部托管的网页。) 这似乎暗示这是可以做到的 For your page to display in Teams, you must include the Microsoft Teams JavaScript client SDK and include a call to microsoftTeams.initialize() after your page loads. That is how you

我希望web内容(以下引用)是我上传到团队的链接
html/aspx
文档的文件夹。(不是外部托管的网页。)

这似乎暗示这是可以做到的

For your page to display in Teams, you must include the Microsoft Teams 
JavaScript client SDK and include a call to microsoftTeams.initialize() 
after your page loads. That is how your page and the Teams client 
communicate:
MS文档指出结尾应该是
aspx
而不是
html
。在
部分中应该有一行
。这是针对“团队客户端JavaScript SDK”的,也是针对microsoftTeams.initialize()行的需要位于
脚本
部分

我创建了一个Hello World文档,其内容如示例所示:

<!DOCTYPE html>
<html>
<head>

    <script src= 'https://statics.teams.cdn.office.net/sdk/v1.6.0/js/MicrosoftTeams.min.js'></script>

</head>

<body>

    <script>
    microsoftTeams.initialize();
    </script>

</body>

有人这样做过吗?你能告诉我怎么做吗

当然,如果这个想法走错了方向,有更好的方法,也请让我知道

谢谢。

您可以创建一个概念,它将帮助您在选项卡中呈现html页面

团队不允许其他租户域。若要允许,您需要在清单有效域数组中添加这些域


“validDomains”:[“contoso.com”、“mysite.someplace.com”、“othersite.someplace.com”]

Hi@Harlan Nelson您正在尝试创建团队配置选项卡还是个人选项卡?团队不允许其他租户域。若要允许,您需要将这些域添加到清单有效域数组中。`“validDomains”:[“contoso.com”、“mysite.someplace.com”、“othersite.someplace.com”]`您可以创建一个概念,它将帮助您在中呈现html页面tab@Sridevi-MSFT谢谢,我会研究这些链接并尝试一下。
For your page to display in Teams, you must include the Microsoft Teams 
JavaScript client SDK and include a call to microsoftTeams.initialize() 
after your page loads. That is how your page and the Teams client 
communicate:
<!DOCTYPE html>
<html>
<head>

    <script src= 'https://statics.teams.cdn.office.net/sdk/v1.6.0/js/MicrosoftTeams.min.js'></script>

</head>

<body>

    <script>
    microsoftTeams.initialize();
    </script>

</body>

Ensure that the all URL domains used in your tabs are included in the validDomains array in your manifest. For more information, see validDomains in the manifest schema reference. However, be mindful that the core functionality of your tab exists within Teams and not outside of Teams.