-
Notifications
You must be signed in to change notification settings - Fork 197
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
app.openLink doesn't work when running a Teams Personal App as an Outlook app #1784
Comments
Hi michaelmaillot! 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 |
@michaelmaillot - Thanks for reporting your issue. We will test this and update you soon. |
Hi Michael, I am investigating this issue. I wanted to ask what specifically you are trying to do by using app.openLink in this case. From what I understand, it seems that you are trying to deeplink to open a Teams Chat Message Dialog or deeplink to open a Outlook Meeting Dialog. If this is correct, have you tried using the strongly-typed APIs such as the Chat Module or the Mail Module Granted the Chat capability does not function outside of Teams and the Mail capability only works in Outlook. If you are trying to use the Chat capability outside of Teams or use the Mail capability outside of Teams, please let me know and we can see what the right action would be. |
I didn't try to use the The thing is that the Do you need additional info such as code snippet and / or app demo as a gif? |
Hi Michael, sorry for the late response, but yes a code snippet of the deeplink you used or a video demoing the behavior would be extremely useful. |
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 @vikramtha sorry for late response, below a record of the behavior: And here's the code snippet: <div style={{ columnGap: "15px", display: "flex" }}>
<Button appearance="primary"
onClick={async () => {
await teamsSdk.teamsJs.app.openLink("https://teams.microsoft.com/l/message/[CONVERSATION_ID]@thread.skype/[PARENT_MESSAGE_ID]?tenantId=[TENANT_ID]&groupId=[GROUP_ID]&parentMessageId=[PARENT_MESSAGE_ID]&teamName=TestGroupOk&channelName=General&createdTime=[PARENT_MESSAGE_ID]");
}}
>
Open Team Chat
</Button>
<Button
onClick={async () => {
await teamsSdk.teamsJs.app.openLink("https://outlook.office.com/calendar/deeplink/compose?&subject=Sushi%20Training&location=Convention%20Center&startdt=2024-02-29T19%3A00%3A00&enddt=2024-03-01T00%3A00%3A05&body=Remember+to+bring+your+force!");
}}
>
Open Calendar invite
</Button>
</div> |
@michaelmaillot - Thanks for sharing the code snippet and demo. We will test this and update you soon. |
Thanks Michael! Looks like you are right most of all these links do not function correctly in Outlook OWA yet. I have been testing more links and noticing the same behavior for Outlook OWA as it is different from Outlook Win32 Desktop App. I will reach out to the Engineers and PMs to get this work prioritized |
Good to know! Thanks for the internal feedback. In the meantime, regarding the documentation page, would it be relevant to request / submit an update that reflects current behavior according to you? |
Thanks for your feedback. We will inform the same to the concerned team. |
@vikramtha @Nivedipa-MSFT It seems that this problem has not been solved. I also encountered this problem. Is there any update? |
Category
Version
Please specify what version of the library you are using: [2.9.1]
Host context
Please specify what's the context of the host: [Outlook web]
Expected / Desired Behavior
When running the
app.openLink
function which includes a Teams chat message or an Outlook new meeting from an Outlook app (which is a Teams Personal App), it should work as it's part of theapp
capability, which is supported as stated in the documentation page.Observed Behavior
When running the
app.openLink
function which includes a Teams chat message or an Outlook new meeting from an Outlook app (which is a Teams Personal App), nothing happens and no error thrown in the browser console. However, it works from the Office.com and Teams contexts.The text was updated successfully, but these errors were encountered: