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

Item Multi Select Add-in not working as expected #5351

Open
fabiorodriguesdev opened this issue Jan 31, 2025 · 3 comments
Open

Item Multi Select Add-in not working as expected #5351

fabiorodriguesdev opened this issue Jan 31, 2025 · 3 comments
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback Platform: Desktop Type: product bug Bug in the Office Add-ins platform or Office JavaScript APIs

Comments

@fabiorodriguesdev
Copy link

Article URL
On what page did you find the problem?
docs/outlook/item-multi-select.md

Describe the problem
A clear and concise description of what is incorrect, unclear, or missing in the document.

  • the multi email selection add in doesn't work on outlook new, still shows up only when selecting one email alone.
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Jan 31, 2025
@fabiorodriguesdev
Copy link
Author

My manifest.

{
  "$schema": "https://developer.microsoft.com/json-schemas/teams/v1.17/MicrosoftTeams.schema.json",
  "id": "c8ee4b8f-2145-4b0f-913a-2b9dbd45e5b7",
  "manifestVersion": "1.17",
  "version": "1.0.0",
  "name": {
    "short": "test",
    "full": "Contoso Task Pane Add-in"
  },
  "description": {
    "short": "A template to get started.",
    "full": "This is the template to get started."
  },
  "developer": {
    "name": "Contoso",
    "websiteUrl": "https://www.contoso.com",
    "privacyUrl": "https://www.contoso.com/privacy",
    "termsOfUseUrl": "https://www.contoso.com/servicesagreement"
  },
  "icons": {
    "outline": "assets/outline.png",
    "color": "assets/color.png"
  },
  "accentColor": "#230201",
  "localizationInfo": {
    "defaultLanguageTag": "en-us",
    "additionalLanguages": []
  },
  "authorization": {
    "permissions": {
      "resourceSpecific": [
        {
          "name": "Mailbox.ReadWrite.User",
          "type": "Delegated"
        }
      ]
    }
  },
  "validDomains": ["contoso.com"],
  "extensions": [
    {
      "requirements": {
        "scopes": ["mail"],
        "capabilities": [
          {
            "name": "Mailbox",
            "minVersion": "1.13"
          }
        ]
      },
      "runtimes": [
        {
          "requirements": {
            "capabilities": [
              {
                "name": "Mailbox",
                "minVersion": "1.13"
              }
            ]
          },
          "id": "TaskPaneRuntime",
          "type": "general",
          "code": {
            "page": "https://localhost:3000/taskpane.html"
          },
          "lifetime": "short",
          "actions": [
            {
              "id": "TaskPaneRuntimeShow",
              "type": "openPage",
              "pinnable": false,
              "view": "dashboard",
              "supportsNoItemContext": true,
              "multiselect": true
            }
          ]
        }
      ],
      "ribbons": [
        {
          "contexts": ["mailRead"],
          "tabs": [
            {
              "builtInTabId": "TabDefault",
              "groups": [
                {
                  "id": "msgReadGroup",
                  "label": "Contoso Add-in",
                  "icons": [
                    {
                      "size": 16,
                      "url": "https://localhost:3000/assets/icon-16.png"
                    },
                    {
                      "size": 32,
                      "url": "https://localhost:3000/assets/icon-32.png"
                    },
                    {
                      "size": 80,
                      "url": "https://localhost:3000/assets/icon-80.png"
                    }
                  ],
                  "controls": [
                    {
                      "id": "msgReadOpenPaneButton",
                      "type": "button",
                      "label": "Show Task Pane",
                      "icons": [
                        {
                          "size": 16,
                          "url": "https://localhost:3000/assets/icon-16.png"
                        },
                        {
                          "size": 32,
                          "url": "https://localhost:3000/assets/icon-32.png"
                        },
                        {
                          "size": 80,
                          "url": "https://localhost:3000/assets/icon-80.png"
                        }
                      ],
                      "supertip": {
                        "title": "Show Task Pane",
                        "description": "Opens a pane displaying all available properties."
                      },
                      "actionId": "TaskPaneRuntimeShow"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

@ElizabethSamuel-MSFT ElizabethSamuel-MSFT transferred this issue from OfficeDev/office-js-docs-pr Feb 3, 2025
Copy link

github-actions bot commented Feb 3, 2025

Here are some similar issues that might help you. Please check if they can solve your problem.


Possible solution (Extracted from existing issue, might be incorrect; please verify carefully)

Solution 1:

To verify that your Outlook client is on the Beta Channel, see How to get Microsoft 365 Insider builds on Windows. I noted in your manifest that the item multi-select tag is configured as <SupportsMultiselect>true</SupportsMultiselect>. Because XML is case-sensitive, please update this to <SupportsMultiSelect>true</SupportsMultiSelect> instead.

Reference:

Solution 2:

The issue has been fixed. Closing.

Reference:

@ElizabethSamuel-MSFT ElizabethSamuel-MSFT added Needs: attention 👋 Waiting on Microsoft to provide feedback Platform: Desktop Area: Outlook Issue related to Outlook add-ins Type: product bug Bug in the Office Add-ins platform or Office JavaScript APIs and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP Similar-Issue Possible-Solution labels Feb 3, 2025
@ElizabethSamuel-MSFT
Copy link
Contributor

@fabiorodriguesdev Thanks for letting us know about this issue.

@exextoc Can you take a look?

Thanks.

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 Needs: attention 👋 Waiting on Microsoft to provide feedback Platform: Desktop Type: product bug Bug in the Office Add-ins platform or Office JavaScript APIs
Projects
None yet
Development

No branches or pull requests

3 participants