0
votes

I have no app domains to be specified with <AppDomain/> child element inside the <AppDomains/> element in an Excel Add-in task pane manifest. I cannot leave an unspecified <AppDomain/> as this generates an error at validation:

Package acceptance validation error: XML Schema Validation Error Error found during XML Schema validation. Code: The 'http://schemas.microsoft.com/office/appforoffice/1.1:AppDomain' element is invalid - The value '' is invalid according to its datatype 'http://schemas.microsoft.com/office/appforoffice/1.1:LongString' - The actual length is less than the MinLength value. Line: 16 Column: 10

I probably cannot remove <AppDomain/> and leave <AppDomains/> given that the latter has property minOccurs="1".

I've found this manifest example where <AppDomains/>and <AppDomain/> are omitted. However, I don't know if this is an official way of doing it. I did not find documentation describing if <AppDomains/> is an obligatory element for Office task pane manifests and what should be done if there's nothing to be listed.

1

1 Answers

0
votes

<AppDomains> is not mandatory. You can find a list of required elements here: Manifest required elements. Also, the official XSD for the manifest is here: MS-OWEMXML.