Skip to content
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

Syncing EWS UpdateItem Changes to Compose Pane in Exchange On-Prem Outlook Add-in (Office JS ≤ 1.5) #5499

Closed
backupsdkjjdie opened this issue Mar 17, 2025 · 1 comment
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins Resolution: question answered Question is answered by engineering team.

Comments

@backupsdkjjdie
Copy link

I am developing an Outlook add-in for Exchange On-Premise accounts using Office JS. However, since Exchange On-Prem only supports Office JS versions ≤ 1.5, many Office JS APIs are unavailable for certain tasks. As a workaround, I’m using the EWS API to perform operations like adding attachments to an email, and I trigger this EWS API call using Office.context.mailbox.makeEwsRequestAsync. While I receive a successful response from the EWS API, indicating that the changes are applied on the Exchange server, the updates are not reflected in the Outlook compose pane UI. For example, when using the UpdateItem API to add attachments, the attachments are successfully added on the server, but they do not appear in the compose pane. Is there a way to sync or refresh the compose pane after performing operations like UpdateItem in EWS so that changes, such as attachments, are immediately visible in the UI? Any suggestions or workarounds would be greatly appreciated.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Mar 17, 2025
@exextoc exextoc added Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Mar 17, 2025
@exextoc exextoc self-assigned this Mar 17, 2025
@Oleg-O Oleg-O added Resolution: question answered Question is answered by engineering team. and removed Needs: attention 👋 Waiting on Microsoft to provide feedback labels Mar 17, 2025
@Oleg-O
Copy link
Collaborator

Oleg-O commented Mar 17, 2025

Unfortunately, no, there is no way to force sync or refresh. This is one of the reasons we've been adding more capabilities in the JS API in compose so that add-in developers wouldn't have to deal with this kind of issues. But new JS APIs are only available online.

@Oleg-O Oleg-O closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Issue related to Outlook add-ins Resolution: question answered Question is answered by engineering team.
Projects
None yet
Development

No branches or pull requests

3 participants