Forum Discussion
vpatel2003
Mar 10, 2023Copper Contributor
Navigate to personal tab using deeplink
I have encountered an issue while trying to create a deep link for my Microsoft Teams tab. My tab opens a web app built with Angular, which consists of a homepage and multiple internal pages. Specifi...
- Mar 13, 2023For those seeking an alternative way. please see my answer here
https://stackoverflow.com/questions/75692178/ms-teams-navigating-to-personal-tab-using-deeplink/75726641
Sayali-MSFT
Mar 10, 2023Microsoft
vpatel2003 - Tracking this question here-https://stackoverflow.com/questions/75692178/ms-teams-navigating-to-personal-tab-using-deeplink
vpatel2003
Mar 13, 2023Copper Contributor
Please find a solution for navigating to a page within personal tab or teams tab.
Currently only the Homepage is loading, not second level routes. even after adding /blog or /employee.
See example below.
Navigate to blog page:
var encodedContext = encodeURIComponent(JSON.stringify({"subEntityId": "124451"}));
var taskItemUrl = 'https://teams.microsoft.com/l/entity/fe4a8eba-2a31-4737-8e33-e5fae6fee194/blogs?context=' + encodedContext;
Navigate to employee profile page:
var encodedContext = encodeURIComponent(JSON.stringify({"subEntityId": "task456"}));
var taskItemUrl = 'https://teams.microsoft.com/l/entity/fe4a8eba-2a31-4737-8e33-e5fae6fee194/employee?context=' + encodedContext;