Coder Social home page Coder Social logo

Comments (3)

EmilioAlbertoE avatar EmilioAlbertoE commented on August 10, 2024

this is the piece where we defined the buttons and the permissions on the manifest with the SupportsMultiSelect tag

      <!-- MAIL READ SURFACE -->
      <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="readTagEmail">
              <Label resid="tagEmailLabel" />
              <Supertip>
                <Title resid="paneReadSuperTipTitle" />
                <Description resid="paneReadSuperTipDescription" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="tagMailIcon16" />
                <bt:Image size="32" resid="tagMailIcon32" />
                <bt:Image size="80" resid="tagMailIcon80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="readTagMailPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
                <SupportsMultiSelect>true</SupportsMultiSelect>
              </Action>
            </Control>

            <Control xsi:type="Button" id="readCaseInfo">
              <Label resid="caseInfoLabel" />
              <Supertip>
                <Title resid="paneReadSuperTipTitle" />
                <Description resid="paneReadSuperTipDescription" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="caseInfoIcon16" />
                <bt:Image size="32" resid="caseInfoIcon32" />
                <bt:Image size="80" resid="caseInfoIcon80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="readCaseInfoPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
              </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 -->


      <!-- MAIL COMPOSE SURFACE -->
      <ExtensionPoint xsi:type="MessageComposeCommandSurface">
        <OfficeTab id="TabDefault">
          <!-- Up to 6 Groups added per Tab -->
          <Group id="mailComposeGroup">
            <Label resid="groupLabel" />
            <!-- Launch the add-in : task pane button -->
            <Control xsi:type="Button" id="composeTagEmail">
              <Label resid="tagEmailLabel" />
              <Supertip>
                <Title resid="paneReadSuperTipTitle" />
                <Description resid="paneReadSuperTipDescription" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="tagMailIcon16" />
                <bt:Image size="32" resid="tagMailIcon32" />
                <bt:Image size="80" resid="tagMailIcon80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="composeTagMailPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
              </Action>
            </Control>

            <Control xsi:type="Button" id="composeCaseInfo">
              <Label resid="caseInfoLabel" />
              <Supertip>
                <Title resid="paneReadSuperTipTitle" />
                <Description resid="paneReadSuperTipDescription" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="caseInfoIcon16" />
                <bt:Image size="32" resid="caseInfoIcon32" />
                <bt:Image size="80" resid="caseInfoIcon80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="composeCaseInfoPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
              </Action>
            </Control>
            <!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
          </Group>
        </OfficeTab>
      </ExtensionPoint>


      <!-- APPOINTMENT ORGANIZER SURFACE -->
      <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
        <OfficeTab id="TabDefault">
          <!-- Up to 6 Groups added per Tab -->
          <Group id="aptReadGroup">
            <Label resid="groupLabel" />
            <!-- Launch the add-in : task pane button -->
            <Control xsi:type="Button" id="appointmentTag">
              <Label resid="tagCalendarEventLabel" />
              <Supertip>
                <Title resid="paneReadSuperTipTitle" />
                <Description resid="paneReadSuperTipDescription" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="tagMailIcon16" />
                <bt:Image size="32" resid="tagMailIcon32" />
                <bt:Image size="80" resid="tagMailIcon80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="appointmentTagMailPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
              </Action>
            </Control>

            <!-- <Control xsi:type="Button" id="appointmentCaseInfo">
              <Label resid="caseInfoLabel" />
              <Supertip>
                <Title resid="paneReadSuperTipTitle" />
                <Description resid="paneReadSuperTipDescription" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="caseInfoIcon16" />
                <bt:Image size="32" resid="caseInfoIcon32" />
                <bt:Image size="80" resid="caseInfoIcon80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="appointmentCaseInfoPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
              </Action>
            </Control> -->
            <!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
          </Group>
        </OfficeTab>
      </ExtensionPoint>

      <ExtensionPoint xsi:type="AppointmentAttendeeCommandSurface">
        <OfficeTab id="TabDefault">
          <!-- Up to 6 Groups added per Tab -->
          <Group id="aptAttendeeReadGroup">
            <Label resid="groupLabel" />
            <!-- Launch the add-in : task pane button -->
            <Control xsi:type="Button" id="appointmentTagFromAttendee">
              <Label resid="tagCalendarEventLabel" />
              <Supertip>
                <Title resid="paneReadSuperTipTitle" />
                <Description resid="paneReadSuperTipDescription" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="tagMailIcon16" />
                <bt:Image size="32" resid="tagMailIcon32" />
                <bt:Image size="80" resid="tagMailIcon80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="appointmentTagMailPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
              </Action>
            </Control>

            <!-- <Control xsi:type="Button" id="appointmentCaseInfoFromAttendee">
              <Label resid="caseInfoLabel" />
              <Supertip>
                <Title resid="paneReadSuperTipTitle" />
                <Description resid="paneReadSuperTipDescription" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="caseInfoIcon16" />
                <bt:Image size="32" resid="caseInfoIcon32" />
                <bt:Image size="80" resid="caseInfoIcon80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="appointmentCaseInfoPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
              </Action>
            </Control> -->
            <!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
          </Group>
        </OfficeTab>
      </ExtensionPoint>

    </DesktopFormFactor>


    <MobileFormFactor>
      <ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
          <Group id="mobileMsgReadGroup">
            <Label resid="groupLabel" />
            <Control xsi:type="MobileButton" id="mobileReadTagEmail">
              <Label resid="tagEmailLabel" />
               <Icon xsi:type="bt:MobileIconList">
                <bt:Image size="25" scale="1" resid="tagMailIcon32" />
                <bt:Image size="25" scale="2" resid="tagMailIcon32" />
                <bt:Image size="25" scale="3" resid="tagMailIcon32" />
                <bt:Image size="32" scale="1" resid="tagMailIcon32" />
                <bt:Image size="32" scale="2" resid="tagMailIcon32" />
                <bt:Image size="32" scale="3" resid="tagMailIcon32" />
                <bt:Image size="48" scale="1" resid="tagMailIcon32" />
                <bt:Image size="48" scale="2" resid="tagMailIcon32" />
                <bt:Image size="48" scale="3" resid="tagMailIcon32" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="mobileReadTagMailPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
              </Action>
            </Control>

            <Control xsi:type="MobileButton" id="mobileReadCaseInfo">
              <Label resid="caseInfoLabel" />
               <Icon xsi:type="bt:MobileIconList">
                  <bt:Image size="25" scale="1" resid="caseInfoIcon32" />
                  <bt:Image size="25" scale="2" resid="caseInfoIcon32" />
                  <bt:Image size="25" scale="3" resid="caseInfoIcon32" />
                  <bt:Image size="32" scale="1" resid="caseInfoIcon32" />
                  <bt:Image size="32" scale="2" resid="caseInfoIcon32" />
                  <bt:Image size="32" scale="3" resid="caseInfoIcon32" />
                  <bt:Image size="48" scale="1" resid="caseInfoIcon32" />
                  <bt:Image size="48" scale="2" resid="caseInfoIcon32" />
                  <bt:Image size="48" scale="3" resid="caseInfoIcon32" />
                </Icon>
              <Action xsi:type="ShowTaskpane">
                <SourceLocation resid="mobileReadCaseInfoPaneUrl" />
                <SupportsPinning>true</SupportsPinning>
              </Action>
            </Control>
          </Group>
      </ExtensionPoint>
    </MobileFormFactor>

  </Host>
</Hosts>

from office-js.

zhngx1 avatar zhngx1 commented on August 10, 2024

Is it happening only on Outlook web? Does it happen on Outlook Desktop or Outlook Mac?

from office-js.

EmilioAlbertoE avatar EmilioAlbertoE commented on August 10, 2024

yes it's only happening on Outlook web.

Outlook desktop it's working as expected without issues.

from office-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.