Skip to content

[Outlook] (event-based activation) Refresh content #5227

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

Merged
merged 4 commits into from
Jun 12, 2025

Conversation

samantharamon
Copy link
Contributor

  • Surfaces feature support on mobile devices.
  • Moves samples and walkthroughs out of the "See also" section to a dedicated section of the event-based article.
  • Clarifies the use of the associate method in applicable event-based walkthroughs.

Copy link
Contributor

Learn Build status updates of commit d6e02bc:

✅ Validation status: passed

File Status Preview URL Details
docs/outlook/autolaunch.md ✅Succeeded View
docs/outlook/mobile-event-based.md ✅Succeeded View
docs/outlook/on-new-compose-events-walkthrough.md ✅Succeeded View
docs/outlook/onmessagefromchanged-onappointmentfromchanged-events.md ✅Succeeded View
docs/outlook/outlook-mobile-apis.md ✅Succeeded View
docs/outlook/smart-alerts-onmessagesend-walkthrough.md ✅Succeeded View
docs/toc.yml ✅Succeeded View

For more details, please refer to the build report.

Copy link
Contributor

Learn Build status updates of commit b940db2:

✅ Validation status: passed

File Status Preview URL Details
docs/outlook/autolaunch.md ✅Succeeded View
docs/outlook/mobile-event-based.md ✅Succeeded View
docs/outlook/on-new-compose-events-walkthrough.md ✅Succeeded View
docs/outlook/onmessagefromchanged-onappointmentfromchanged-events.md ✅Succeeded View
docs/outlook/outlook-mobile-apis.md ✅Succeeded View
docs/outlook/smart-alerts-onmessagesend-walkthrough.md ✅Succeeded View
docs/toc.yml ✅Succeeded View

For more details, please refer to the build report.

Copy link
Contributor

Learn Build status updates of commit b178cb6:

✅ Validation status: passed

File Status Preview URL Details
docs/outlook/autolaunch.md ✅Succeeded View
docs/outlook/mobile-event-based.md ✅Succeeded View
docs/outlook/on-new-compose-events-walkthrough.md ✅Succeeded View
docs/outlook/onmessagefromchanged-onappointmentfromchanged-events.md ✅Succeeded View
docs/outlook/outlook-mobile-apis.md ✅Succeeded View
docs/outlook/smart-alerts-onmessagesend-walkthrough.md ✅Succeeded View
docs/toc.yml ✅Succeeded View

For more details, please refer to the build report.

@samantharamon samantharamon requested a review from Copilot June 11, 2025 23:13
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refreshes content for Outlook event‐based activation by surfacing mobile device support, reorganizing sample and walkthrough content, and clarifying the use of the Office.actions.associate method. Key changes include:

  • Adding a new TOC entry and dedicated section for event‐based activation on Outlook mobile devices.
  • Updating documentation dates and clarifying notes regarding event handler mapping.
  • Enhancing tables and note sections across various walkthrough files to reflect mobile support and version updates.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docs/toc.yml Added mobile-specific TOC entry for event-based activation support.
docs/outlook/smart-alerts-onmessagesend-walkthrough.md Updated ms.date and enhanced note regarding Office.actions.associate usage.
docs/outlook/outlook-mobile-apis.md Updated ms.date and added a new “Supported events” section with version details.
docs/outlook/onmessagefromchanged-onappointmentfromchanged-events.md Updated ms.date and refined note formatting for clarity on event handler mapping.
docs/outlook/on-new-compose-events-walkthrough.md Updated ms.date and added a note about mobile support for OnNewMessageCompose.
docs/outlook/mobile-event-based.md Updated ms.date and revised event version details in the API table.
docs/outlook/autolaunch.md Updated ms.date, restructured note sections, and introduced new sections for mobile add-in activation.
Comments suppressed due to low confidence (4)

docs/outlook/outlook-mobile-apis.md:32

  • [nitpick] Ensure that the newly added 'Supported events' section accurately reflects the API version details and is consistent with other mobile documentation sections.
## Supported events

docs/outlook/onmessagefromchanged-onappointmentfromchanged-events.md:382

  • [nitpick] Align the note block formatting with other documentation sections to maintain consistency in style; consider whether all bullet points are required to avoid potential redundancy.
+> - In classic Outlook on Windows, imports aren't supported in the JavaScript file where you implement the handling for event-based activation.

docs/outlook/on-new-compose-events-walkthrough.md:18

  • [nitpick] Verify that this new note clearly complements the existing content without repeating information that is provided later in the document.
The `OnNewMessageCompose` event is now supported in Outlook on mobile devices. To learn how to implement this event in your Outlook mobile add-in, see [Implement event-based activation in Outlook mobile add-ins](mobile-event-based.md).

docs/outlook/autolaunch.md:44

  • [nitpick] Review the wording in this note to ensure it fully reflects the updated mobile activation changes and avoids potential confusion when read alongside the newly added 'Event-based activation in Outlook mobile devices' section.
> <sup>2</sup> For more information, see [Implement event-based activation in Outlook mobile add-ins](mobile-event-based.md).

> Event-based add-ins running in classic Outlook on Windows don't run code included in the `Office.onReady()` and `Office.initialize` functions. We recommend adding your add-in startup logic, such as checking the user's Outlook version, to your event handlers instead.
>
> - In classic Outlook on Windows, imports aren't supported in the JavaScript file where you implement the handling for event-based activation.
> - Event-based add-ins running in classic Outlook on Windows don't run code included in the `Office.onReady()` and `Office.initialize` functions. We recommend adding your add-in startup logic, such as checking the user's Outlook version, to your event handlers instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can add-ins implement event-based activation as well as other features? If so, could that mean that if the dev does initialization only in the event handlers, then other functionality won't have been initialized?

Suggested change
> - Event-based add-ins running in classic Outlook on Windows don't run code included in the `Office.onReady()` and `Office.initialize` functions. We recommend adding your add-in startup logic, such as checking the user's Outlook version, to your event handlers instead.
> - Event-based add-ins running in classic Outlook on Windows don't run code included in the `Office.onReady()` and `Office.initialize` functions. We recommend adding your add-in startup logic, such as checking the user's Outlook version, to your event handlers as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great questions. Startup logic in the initialization method that pertains to non-event handler code will run. There are other articles not related to event-based activation that will also need to be updated, so I'll address this in a separate PR.

Co-authored-by: Elizabeth Samuel <[email protected]>
Copy link
Contributor

Learn Build status updates of commit cdff21a:

✅ Validation status: passed

File Status Preview URL Details
docs/outlook/autolaunch.md ✅Succeeded View
docs/outlook/mobile-event-based.md ✅Succeeded View
docs/outlook/on-new-compose-events-walkthrough.md ✅Succeeded View
docs/outlook/onmessagefromchanged-onappointmentfromchanged-events.md ✅Succeeded View
docs/outlook/outlook-mobile-apis.md ✅Succeeded View
docs/outlook/smart-alerts-onmessagesend-walkthrough.md ✅Succeeded View
docs/toc.yml ✅Succeeded View

For more details, please refer to the build report.

@samantharamon samantharamon merged commit 8cc9271 into main Jun 12, 2025
2 checks passed
@samantharamon samantharamon deleted the samramon-event-based-updates branch June 12, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants