Forum Discussion
keithfable
Jan 17, 2024Brass Contributor
deep link to teams channel tab using entityId
Hi, I a have deep link navigation issue - I am simply trying to navigate to a channel tab in Teams. Here is the tab information, according to Graph API: {
"id": "7e8e4ab6-288b-434c-9...
- Feb 29, 2024Thanks for your reply. I think that in the end, the problem was that there were two apps installed with the same ID. After removing one of them, deep linking worked.
ChetanSharma-msft
Microsoft
Jan 18, 2024Hello @ keithfable - Thanks for raising your query.
Whenever we create the tab personal/configurable, we can configure the entity id.
For configurable tab, one way to get the page id or subPageId from tab context.
Reference doc: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/access-teams-context?tabs=Json-v2%2Cteamsjs-v2%2Cdefault#get-context-by-using-the-microsoft-teams-javascript-library
You can also refer this sample: https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/tab-deeplink/nodejs/Bots/DeepLinkTabsnode.js
Whenever we create the tab personal/configurable, we can configure the entity id.
For configurable tab, one way to get the page id or subPageId from tab context.
Reference doc: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/access-teams-context?tabs=Json-v2%2Cteamsjs-v2%2Cdefault#get-context-by-using-the-microsoft-teams-javascript-library
You can also refer this sample: https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/tab-deeplink/nodejs/Bots/DeepLinkTabsnode.js
- keithfableFeb 29, 2024Brass ContributorThanks for your reply. I think that in the end, the problem was that there were two apps installed with the same ID. After removing one of them, deep linking worked.