如何将 url 从自适应卡片打开 url 操作加载到团队频道网站选项卡中
How to load a url from adaptive card open url action into a teams channel website tab
我添加了一个网站选项卡 (1) to a Microsoft Teams Channel with URL as www.example.com. I copied a link to the tab (2) as More option ... > Copy link to tab. Then I am posting adaptive cards with open url action (3),并将团队选项卡 url 复制为 link。现在,如果我单击卡片操作按钮,团队频道选项卡将默认打开 URL www.example.com.
问题:是否可以开子URL说www.example.com/123 在频道选项卡中单击自适应卡片操作按钮时? Teams deep links document 没有提到如何做到这一点。
不太重要的是,我通过复制 link 到选项卡得到的 URL 格式为:teams.microsoft.com/l/channel/19%3Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx %40thread.tacv2/tab%3A%3Axxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxx?groupId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&tenantId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
不可能开箱即用,因为您没有将 'url' 传递给选项卡,您只是指示 Teams 加载该特定选项卡,以及您想要显示的任何内容。获得您想要的这种行为的一种方法是创建您自己的选项卡,它可以托管一个 iframe,然后您的选项卡可以使用深度 link 语法调用,您可以在其中编码某些指令(例如 'open this sub path in the iframe').
我添加了一个网站选项卡 (1) to a Microsoft Teams Channel with URL as www.example.com. I copied a link to the tab (2) as More option ... > Copy link to tab. Then I am posting adaptive cards with open url action (3),并将团队选项卡 url 复制为 link。现在,如果我单击卡片操作按钮,团队频道选项卡将默认打开 URL www.example.com.
问题:是否可以开子URL说www.example.com/123 在频道选项卡中单击自适应卡片操作按钮时? Teams deep links document 没有提到如何做到这一点。
不太重要的是,我通过复制 link 到选项卡得到的 URL 格式为:teams.microsoft.com/l/channel/19%3Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx %40thread.tacv2/tab%3A%3Axxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxx?groupId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&tenantId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
不可能开箱即用,因为您没有将 'url' 传递给选项卡,您只是指示 Teams 加载该特定选项卡,以及您想要显示的任何内容。获得您想要的这种行为的一种方法是创建您自己的选项卡,它可以托管一个 iframe,然后您的选项卡可以使用深度 link 语法调用,您可以在其中编码某些指令(例如 'open this sub path in the iframe').