0

I'm developing Outlook AddIn and I have a taskpane for MessageReadCommandSurface with one button. That works fine in Outlook Windows Desktop Classic, I see button on the ribbon. However, on outlook webmail (i.e. https://outlook.office.com/) button is not obviously there. User has to click on the "Apps" button and then it is there. But, I can see that some addins like ScriptLab and VivaInsights have buttons just next to the Reply/ReplyAll... buttons. How can we also achieve that? enter image description here

Here is the excerpt from my manifest.xml:

<ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="group.TB.MessageRead">
                  <Label resid="residGroupLabel"/>
                  <Control xsi:type="Button" id="btnShowTaskpaneTBRead">
                    <Label resid="residBtnLabelTB"/>
                    <Supertip>
                      <Title resid="residBtnLabelTB" />
                      <Description resid="residSupertipDescTB" />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16x16" />
                      <bt:Image size="32" resid="Icon.16x16" />
                      <bt:Image size="80" resid="Icon.16x16" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Trackingpane.Url"/>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>

How does ScriptLab put a button (or Menu button) here ?

8
  • I believe Outlook manages this automatically. On the web version, only one or two add-ins are displayed at a time. If you remove those, your add-in should appear. Also, if your add-in was installed before Script Lab or others, it might take priority. Commented Jun 7 at 17:20
  • Same happens if I don't have any other Add-in - it is not shown, I first have to click on "Apps" button and then I can click my Add-In TabDefault button. Is this maybe a reserved only for Microsoft internal Add-ins? Can someone from Microsoft confirm? Commented Jun 9 at 8:57
  • One workaround that we found is that there is a "Pin" option on right click (Apps->Our AddIn->Right Click). That will pin the icon (not the task pane itself) and then Icon will show next to the ScriptLab icon. Just to mention: our taskpane is not pinnable (and we don't want it to be pinnable) so, deliberately, we don't have SupportsPinning for it in manifest. Question is: can we do this programaticaly from OfficeJS or somehow in manifest.xml? Commented Jun 25 at 9:13
  • learn.microsoft.com/en-us/office/dev/add-ins/outlook/… Commented Jun 25 at 11:15
  • you need to add this line <SupportsPinning>true</SupportsPinning> after <SourceLocation resid="Trackingpane.Url"/> line in the manifest Commented Jun 25 at 11:18

1 Answer 1

0

this is an example what I was saying when you install an add-in from MS add-in Store it will ask you to pin it see the examples screenshots

unpinned example

enter image description here

when you will pin add-in and I think this is what you want add-in icon show with the email. After Publishing your add-in on MS add-in Store your add-in will have option to pin

enter image description here

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you for engaging in my question. Install from App Source is certainly what we will do. So it seems there is no code or manifest changes possible to "auto pin" it, because our users might also skip this step. Thanks again, I appreciate your help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.