none
Need assistance in creation of command bar button: "Search in ContentMgmt" on Outlook web through Add-ins RRS feed

  • Question

  • Environment: Microsoft 365 Web

    Application: Outlook App

    Problem Description: - 

    I have created an app which is creating button within the mail ellipsis, but it is not the requirement, we need button in command bar as "Search in ContentMgmt" buttob like below screenshot

    We are trying, but it is creating like that

    We are using below manifest xml, but not able to achieve. Kindly help to find the exact entry which can help to create button in command bar, like in first screenshot.

    <?xml version="1.0" encContentMgmting="UTF-8"?>
    <!--Created:ce44715c-8c4e-446b-879c-ea9ebe0f09c8-->
    <OfficeApp 
              xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" 
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
              xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" 
              xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" 
              xsi:type="MailApp">
    
      <!-- Begin Basic Settings: Add-in metadata, used for all versions of Office unless override provided. -->
    
      <!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
      <Id>7292c9f6-6e5e-4807-81e0-d237a88d1866</Id>
    
      <!--Version. Updates from the store only get triggered if there is a version change. -->
      <Version>10.1.0.1</Version>
      <ProviderName>Search App</ProviderName>
      <DefaultLocale>en-US</DefaultLocale>
      <!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
      <DisplayName DefaultValue="Search in ContentMgmt" />
      <Description DefaultValue="Online ContentMgmt Integration with ContentMgmt"/>
      <IconUrl DefaultValue="https://sso.xyz.co.in/ContentMgmt/office365/assets/icon-80x80.png"/>
    
      <SupportUrl DefaultValue="http://www.xyz.com/contact/" />
      <!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. -->
      <AppDomains>
         <AppDomain>https://sso.xyz.co.in/</AppDomain>
      </AppDomains>
      <!--End Basic Settings. -->
      
      <Hosts>
        <Host Name="Mailbox" />
      </Hosts>
      <Requirements>
        <Sets>
          <Set Name="Mailbox" MinVersion="1.1" />
        </Sets>
      </Requirements>
      <FormSettings>
        <Form xsi:type="ItemRead">
          <DesktopSettings>
            <SourceLocation DefaultValue="https://sso.xyz.co.in/ContentMgmt/ContentMgmt.html"/>
            <RequestedHeight>200</RequestedHeight>
          </DesktopSettings>
        </Form>
      </FormSettings>
    
      <Permissions>ReadWriteMailbox</Permissions>
      <Rule xsi:type="RuleCollection" Mode="Or">
        <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
      </Rule>
      <DisableEntityHighlighting>false</DisableEntityHighlighting>
    
      <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
        <Requirements>
          <bt:Sets DefaultMinVersion="1.3">
            <bt:Set Name="Mailbox" />
          </bt:Sets>
        </Requirements>
        <Hosts>
          <Host xsi:type="MailHost">
    
            <DesktopFormFactor>
              <!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). -->
              <FunctionFile resid="functionFile" />
    
              <!-- Message Read -->
              <ExtensionPoint xsi:type="MessageReadCommandSurface">
                <!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> -->
                <OfficeTab id="TabDefault">
                  <!-- Up to 6 Groups added per Tab -->
                  <Group id="msgReadGroup">
                    <Label resid="groupLabel" />
                    <!-- Launch the add-in : task pane button -->
                    <Control xsi:type="Button" id="msgReadOpenPaneButton">
                      <Label resid="paneReadButtonLabel" />
                      <Supertip>
                        <Title resid="paneReadSuperTipTitle" />
                        <Description resid="paneReadSuperTipDescription" />
                      </Supertip>
                      <Icon>
                        <bt:Image size="16" resid="icon16" />
                        <bt:Image size="32" resid="icon32" />
                        <bt:Image size="80" resid="icon80" />
                      </Icon>
                      <Action xsi:type="ShowTaskpane">
                        <SourceLocation resid="messageReadTaskPaneUrl" />
                      </Action>
                    </Control>
                    <!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
                  </Group>
                </OfficeTab>
              </ExtensionPoint>
              <!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee -->
            </DesktopFormFactor>
          </Host>
        </Hosts>
    
        <Resources>
          <bt:Images>
            <bt:Image id="icon16" DefaultValue="https://sso.xyz.co.in/ContentMgmt/office365/assets/icon-16x16.png"/>
            <bt:Image id="icon32" DefaultValue="https://sso.xyz.co.in/ContentMgmt/office365/assets/icon-32x32.png"/>
            <bt:Image id="icon80" DefaultValue="https://sso.xyz.co.in/ContentMgmt/office365/assets/icon-80x80.png"/>
          </bt:Images>
          <bt:Urls>
            <bt:Url id="functionFile" DefaultValue="https://sso.xyz.co.in/ContentMgmt/office365/function-file/function-file.html"/>
            <bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://sso.xyz.co.in/ContentMgmt/ContentMgmt.html"/> 
          </bt:Urls>
          <bt:ShortStrings>
            <bt:String id="groupLabel" DefaultValue="Search in ContentMgmt"/>
            <bt:String id="customTabLabel"  DefaultValue="Management System"/>
            <bt:String id="paneReadButtonLabel" DefaultValue="ContentMgmt addins"/>
            <bt:String id="paneReadSuperTipTitle" DefaultValue="Online ContentMgmt Integration with ContentMgmt"/>
          </bt:ShortStrings>
          <bt:LongStrings>
            <bt:String id="paneReadSuperTipDescription" DefaultValue="Your ContentMgmt add-in loaded succesfully. Go to the HOME tab and click the 'Show Taskpane' button to get started."/>
          </bt:LongStrings>
        </Resources>
      </VersionOverrides>
    </OfficeApp>
    


    I will be really thankful for any help.


    Regards, S.P Singh

    Sunday, June 7, 2020 7:59 AM

Answers

  • Same as above, users can pin your add-in on message-level ribbon (at the end of the container with the send and discard button) by customizing actionsCurrently showing add-ins on top-level ribbon is not a part of the product.


    Alert sent from MSDN

    • Marked as answer by S.P Singh Tuesday, June 9, 2020 9:35 AM
    Tuesday, June 9, 2020 7:11 AM

All replies