Word Online - Angular Add-in Auto-Open Error in Manifest Validation
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>