Word Online - Angular Add-in Auto-Open Error in Manifest Validation

Carla Rogado 0 Reputation points
2025-03-06T21:10:53.4333333+00:00

Good Morning,

I'm developing a Word Online add-in using Angular, and I'd like the add-in to open automatically whenever a Word document is opened—without requiring the user to click a button in the task pane. I've tried updating the manifest file (modifying the section after the <Host> tag and incrementing the version), but I'm now encountering the error: "Your add-in manifest is not valid."

I'm getting those errors when I tried validate the manifest

Error #1:

Package Type Not Identified: We could not recognize any supported add-in type

Error #2:

Wrong Package: Your package does not match submission type.

AllFormFactors>        <ExtensionPoint xsi:type="ShowTaskpane">          <SourceLocation resid="Taskpane.Url"/>          <AutoShowTaskpane>true</AutoShowTaskpane>        </ExtensionPoint>      </AllFormFactors>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_1">
    <Hosts>
      <Host xsi:type="Document">
      <AllFormFactors>
        <ExtensionPoint xsi:type="ShowTaskpane">
          <SourceLocation resid="Taskpane.Url"/>
          <AutoShowTaskpane>true</AutoShowTaskpane>
        </ExtensionPoint>
      </AllFormFactors>
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="CommandsGroup">
                <Label resid="CommandsGroup.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16"/>
                  <bt:Image size="32" resid="Icon.32x32"/>
                  <bt:Image size="80" resid="Icon.80x80"/>
                </Icon>
                <Control xsi:type="Button" id="TaskpaneButton">
                  <Label resid="TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="TaskpaneButton.Label"/>
                    <Description resid="TaskpaneButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16"/>
                    <bt:Image size="32" resid="Icon.32x32"/>
                    <bt:Image size="80" resid="Icon.80x80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
Microsoft 365 Developer Program
Microsoft 365 Developer Program
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.Developer Program: A Microsoft program designed to help developers build cross-platform productivity experiences by giving them access to a developer subscription, sample data packs, documentation, training, experts, recommendations, and community events.
61 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.