<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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">
  <Id>085df368-251b-4aa5-8c5c-d2bdbca7c16b</Id>
  <Version>1.0.13</Version>
  <ProviderName>JustRelate</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="JustRelate CRM"/>
  <Description DefaultValue="JustRelate CRM Outlook Add-in"/>
  <IconUrl DefaultValue="https://msoffice-addins-beta-neodxp.justrelate.com/outlook/assets/icons/jr-logo-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://msoffice-addins-beta-neodxp.justrelate.com/outlook/assets/icons/jr-logo-128.png"/>
  <SupportUrl DefaultValue="https://www.justrelate.com/help"/>
  <AppDomains>
    <AppDomain>https://msoffice-addins-beta-neodxp.justrelate.com/outlook</AppDomain>
    <AppDomain>https://iam.justrelate.com</AppDomain>
    <AppDomain>https://auth.justrelate.com</AppDomain>
    <AppDomain>https://api.justrelate.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://msoffice-addins-beta-neodxp.justrelate.com/outlook/taskpane.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <!--<Permissions>ReadWriteItem</Permissions>-->
  <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">
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.15">
          <bt:Set Name="Mailbox"/>
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <DesktopFormFactor>
            <!-- common message read surface - the default surface -->
            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="msgReadGroup">
                  <Label resid="GroupLabel"/>
                  <Control xsi:type="Button" id="msgReadOpenPaneButton">
                    <Label resid="PaneButton.Label"/>
                    <Supertip>
                      <Title resid="PaneButton.Label"/>
                      <Description resid="PaneButton.Tooltip"/>
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16x16"/>
                      <bt:Image size="32" resid="Icon.32x32"/>
                      <bt:Image size="80" resid="Icon.80x80"/>
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="TaskPane.Url"/>
                      <SupportsPinning>true</SupportsPinning>
                      <SupportsMultiSelect>true</SupportsMultiSelect>
                      <!-- Enables the add-in to activate without the Reading Pane enabled or a message selected. -->
                      <!-- 2025/04/25 (th) - Cannot be set together with the options above! -->
                      <!-- 2025/04/25 (th) - If set alone then in Outlook web would be no pin button -->
                      <!-- <SupportsNoItemContext>true</SupportsNoItemContext> -->
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <!-- message compose surface - to create new or respond to received messages -->
            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="msgComposeGroup">
                  <Label resid="GroupLabel"/>
                  <Control xsi:type="Button" id="msgComposeOpenPaneButton">
                    <Label resid="PaneButton.Label"/>
                    <Supertip>
                      <Title resid="PaneButton.Label"/>
                      <Description resid="PaneButton.Tooltip"/>
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16x16"/>
                      <bt:Image size="32" resid="Icon.32x32"/>
                      <bt:Image size="80" resid="Icon.80x80"/>
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="ComposePane.Url"/>
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <!-- appointment compose surface - to create new appointments as organizer -->
            <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="apptOrgGroup">
                  <Label resid="GroupLabel"/>
                  <Control xsi:type="Button" id="apptOrgOpenPaneButton">
                    <Label resid="PaneButton.Label"/>
                    <Supertip>
                      <Title resid="PaneButton.Label"/>
                      <Description resid="PaneButton.Tooltip"/>
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16x16"/>
                      <bt:Image size="32" resid="Icon.32x32"/>
                      <bt:Image size="80" resid="Icon.80x80"/>
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="ComposePane.Url"/>
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon.16x16" DefaultValue="https://msoffice-addins-beta-neodxp.justrelate.com/outlook/assets/icons/jr-logo-16.png"/>
          <bt:Image id="Icon.32x32" DefaultValue="https://msoffice-addins-beta-neodxp.justrelate.com/outlook/assets/icons/jr-logo-32.png"/>
          <bt:Image id="Icon.80x80" DefaultValue="https://msoffice-addins-beta-neodxp.justrelate.com/outlook/assets/icons/jr-logo-80.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="TaskPane.Url" DefaultValue="https://msoffice-addins-beta-neodxp.justrelate.com/outlook/taskpane.html"/>
          <bt:Url id="ComposePane.Url" DefaultValue="https://msoffice-addins-beta-neodxp.justrelate.com/outlook/composepane.html"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="GroupLabel" DefaultValue="JustRelate CRM"/>
          <bt:String id="PaneButton.Label" DefaultValue="JustRelate CRM"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="PaneButton.Tooltip" DefaultValue="Opens a pane providing the JustRelate CRM integration."/>
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>