Closed mebbert closed 1 month ago
If you choose Outlook as the Office application, you get a MailApp
.
There is no combination of choices that generates a ContentApp
. This is because this type of add-in has never been common and there's been no demand for projects that start as a ContentApp
. To create a content add-in, choose task pane, React, or SSO as the type of project, and then choose either Excel or PowerPoint as the Office application. After the project is created, you will then need to change the <OfficeApp xsi:type= ... >
to ContentApp
, and delete everything in the <VersionOverrides>
element except the <WebApplicationInfo>
element, if there is one. (If there isn't, then just delete the whole of the <VersionOverrides>
element.) The manifest should look similar to the one at Content.
I don't think Yo Office will ever support direct creation of a content add-in because there's been no demand for this and it would cost too much labor to create and maintain the template for one.
If you use Visual Studio to create an Office Add-in, then for Excel and PowerPoint, you do get the option of creating a content add-in.
Expected behavior
tl;dr: The generator only generates
TaskPaneApp
and doesn't provide options to generateMailApp
orContentApp
.Longer description: This is my first time writing an add-in for Office, but my understanding is that there are three basic types of projects (i.e.,
xsi:type
options) per documentation: a (1)ContentApp
, (2)MailApp
, or (3)TaskPaneApp
.When using
yo office
, there are six options where five result in aTaskPaneApp
. The sixth optionmanifest
is supposed to generate a 'manifest only', but the manifest itself still defines the add-in asxsi:type="TaskPaneApp"
Current behavior
The above UserVoice apparently doesn't exist anymore.