-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deeplink with pages.navigateToApp() not working in Office and Outlook (v2 SDK) #1247
Comments
Hi TDE-Communardo! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies. Best regards, Teams Platform |
Hey @TDE-Communardo you are probably hitting an issue around the AppID changing when a previous version of your app is already installed and you are sideloading a new version that is under development. Teams has a special logic that can map and override this new sideloaded so the navigateToApp still works, unfortunately that logic is not available in Outlook and Office so navigation will fail. We are working on introducing a new API similar to navigateToApp which no longer requires you to pass in an AppID which can avoid this problem altogether. For now, you will have to work around this by passing in the new sideloaded to the navigateToApp call. Note you only need to do this for the sideloaded app if a previous version of the app already exists on the store or tenant. Once you are ready to publish the app you can go back to the original as it will continue to work once the updated app is pushed to the store/tenant catalog. You should think of this as a temporary AppID used for development only and should not be using it outside of sideloading/development scenarios. Hope this helps, please let us know if you have any questions. |
@TDE-Communardo - Please let us know if you have any other query or shall we close this issue? |
Hi @sbtron thanks for your response! Thanks in advance! |
One additional remark: I've checked the AppId used in our code again and it was the external AppId that's also written down in the app manifest. However that's not the ID displayed in the urls mentioned above. It seems that it doesn't matter whether you are using the external appId or the real appId in the pages.navigateToApp(...) function. |
@TDE-Communardo - We will try to repro it and let you you know the updates. |
@TDE-Communardo - We are able to repro this issue and we have raised a bug for it. We will let you know once we get updates on it. |
@TDE-Communardo the team is working on a fix. No ETA yet. Will update this thread once there is a fixed ETA. |
@TDE-Communardo the ETA for a fix is end of August. Once the fix is rolled out, we will update this post. |
@nwojod-MSFT any update on this? |
@rolandbodenstaff, ETA got delayed a bit to accommodate few other changes. I will update this thread as soon as the changes are in effect. Thanks. |
It's a month later is the update ready? |
@rolandbodenstaff apologies for the delay. The fix has been implemented, however, the team is running final tests. The team will roll out the fix in the coming days. |
@TDE-Communardo - We are checking the status of fix release with the engineering team. We will let you know once we have any update. |
@TDE-Communardo - The bug has fixed now. Could you please test this and confirm? |
Can you please let me know in which version the bug has been fixed ? We're facing similar issue.
Our use case -
Teams-js version - Can you @Nivedipa-MSFT please check and point us to the solution ? Thank you. |
@sohamzycus - We have tested this on Office version : 18.2210.1203.0 |
@Nivedipa-MSFT - Please find answers below -
On which host (Teams, Outlook, Office) are you facing this issue?
Are you using app ID which is retrieved from Teams Admin Center for deeplink?
Could you please share the screen recording of your issue to understand the scenario?
NavigationError.mp4. |
Hello @sohamzycus - Thanks for sharing the information. |
@sohamzycus thanks for providing those extra details. To ensure that I can reproduce and investigate your specific use case, can you provide some more information about how you're looking to use a link to chat? You mention that you are looking to redirect to chat context from a tab -- are you looking to create a new chat with some set of users? Or navigate to a specific channel conversation? From the video you provided (thank you for recording it!) -- it looks like you are using the Thank you! |
@sohamzycus - Could you please share below details:
|
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment. |
Hi team,
we recently updated our Teams solution to use the new v2 SDK. While testing the new feature to use the app also in Office and Outlook we have noticed that the new pages.navigateToApp(...) functionality isn't working in the new environments. The same code works fine when the app is used in Teams.
Error Message
Office:
Error in processing request : pages.navigateToApp with error Unhandled message
Outlook: No error / warning visible
Code-sample
Code used to navigate to a personal tab with the entityId "dashboard" from another personal tab inside the same app:
Version
"@microsoft/teams-js": "^2.0.0"
The text was updated successfully, but these errors were encountered: