Skip to content

[Word, Excel, PowerPoint] Event-based activation walkthrough #5261

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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

AlexJerabek
Copy link
Collaborator

This article describes the new event-based activation feature for WXP. It provides a walkthrough on the currently supported onDocumentOpened event in Word.

@AlexJerabek AlexJerabek requested a review from Copilot June 27, 2025 21:27
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 adds a walkthrough for implementing event-based activation in Word, Excel, and PowerPoint add-ins, with a focus on the onDocumentOpened event in Word.

  • Updated the table of contents (toc.yml) to include a link to the new walkthrough.
  • Added a new documentation file (WXP-event-based-activation.md) containing manifest configuration instructions and JavaScript event handler implementations.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/toc.yml Added a new TOC entry for implementing event-based activation in non-Outlook add-ins.
docs/develop/WXP-event-based-activation.md Introduces detailed steps and sample code for event-based activation across Word, Excel, and PowerPoint add-ins.
Comments suppressed due to low confidence (1)

docs/develop/WXP-event-based-activation.md:182

  • The header text is inconsistent with the primary header text ('Highly Confidential'). Consider updating it to maintain consistency.
          firstPageHeader.insertParagraph("High Confidential - The data must be secret or in some way highly critical", "Start");

Copy link
Contributor

Learn Build status updates of commit e56eab6:

💡 Validation status: suggestions

File Status Preview URL Details
docs/develop/WXP-event-based-activation.md 💡Suggestion View Details
docs/toc.yml ✅Succeeded View

docs/develop/WXP-event-based-activation.md

  • Line 0, Column 0: [Suggestion: filename-invalid-character - See documentation] Only lowercase letters, numbers, and hyphens are allowed in filenames.
  • Line 0, Column 0: [Suggestion: filename-incomplete - See documentation] The filename contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

Copy link
Contributor

Learn Build status updates of commit eb6d9f6:

💡 Validation status: suggestions

File Status Preview URL Details
docs/develop/WXP-event-based-activation.md 💡Suggestion View Details
docs/toc.yml ✅Succeeded View

docs/develop/WXP-event-based-activation.md

  • Line 0, Column 0: [Suggestion: filename-invalid-character - See documentation] Only lowercase letters, numbers, and hyphens are allowed in filenames.
  • Line 0, Column 0: [Suggestion: filename-incomplete - See documentation] The filename contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

Copy link
Contributor

Learn Build status updates of commit e9887a8:

💡 Validation status: suggestions

File Status Preview URL Details
docs/develop/WXP-event-based-activation.md 💡Suggestion View Details
docs/toc.yml ✅Succeeded View

docs/develop/WXP-event-based-activation.md

  • Line 0, Column 0: [Suggestion: filename-invalid-character - See documentation] Only lowercase letters, numbers, and hyphens are allowed in filenames.
  • Line 0, Column 0: [Suggestion: filename-incomplete - See documentation] The filename contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@AlexJerabek AlexJerabek requested a review from alison-mk June 27, 2025 23:12
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