<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="MailApp">
    <Id>f79f31be-6518-5fe3-9cb7-983e832ad851</Id>
    <Version>1.214.0.0</Version>
    <ProviderName>Salesforce</ProviderName>
    <DefaultLocale>en-US</DefaultLocale>
    <DisplayName DefaultValue="Sfdc Tools" />
    <Description DefaultValue="Salesforce Lightning for Outlook Tests" />
    <IconUrl DefaultValue="https://mailapp.force.com/img/clients/mailapp/salesforce64.png" />
    <HighResolutionIconUrl DefaultValue="https://mailapp.force.com/img/clients/mailapp/salesforce128.png" />
    <SupportUrl DefaultValue="https://www.salesforce.com" />
    <AppDomains>
        <AppDomain>https://sfdc-addin-tools-staging.herokuapp.com/</AppDomain>
        <AppDomain>https://sfdc-addin-tools.herokuapp.com/</AppDomain>
        <AppDomain>https://salesforce-outlook.herokuapp.com</AppDomain>
        <AppDomain>https://localhost:8443</AppDomain>
    </AppDomains>
    <Hosts>
        <Host Name="Mailbox" />
    </Hosts>
    <Requirements>
        <Sets DefaultMinVersion="1.1">
            <Set Name="Mailbox" />
        </Sets>
    </Requirements>
    <FormSettings>
        <Form xsi:type="ItemRead">
            <DesktopSettings>
                <SourceLocation DefaultValue="https://sfdc-addin-tools.herokuapp.com/OutlookTokenDecoder.html" />
                <RequestedHeight>400</RequestedHeight>
            </DesktopSettings>
        </Form>
        <Form xsi:type="ItemEdit">
            <DesktopSettings>
                <SourceLocation DefaultValue="https://sfdc-addin-tools.herokuapp.com/OutlookTokenDecoder.html?mode&#x3D;compose" />
            </DesktopSettings>
        </Form>
    </FormSettings>
    <Permissions>ReadWriteMailbox</Permissions>
    <Rule xsi:type="RuleCollection" Mode="Or">
        <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
        <Rule xsi:type="ItemIs" ItemType="Appointment" FormType="ReadOrEdit" />
    </Rule>
    <DisableEntityHighlighting>false</DisableEntityHighlighting>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides"
        xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xsi:type="VersionOverridesV1_0">

        <Requirements>
            <bt:Sets DefaultMinVersion="1.4">
                <bt:Set Name="Mailbox" />
            </bt:Sets>
        </Requirements>

        <Hosts>
            <Host xsi:type="MailHost">

                <DesktopFormFactor>
                    <!-- Message read -->
                    <ExtensionPoint xsi:type="MessageReadCommandSurface">
                        <OfficeTab id="TabDefault">
                            <Group id="msgreadTabMessage.grp1">
                                <Label resid="groupLabel" />

                                <Control xsi:type="Button" id="msgreadTabMessage.grp1.btnView">
                                    <Label resid="buttonLabel" />
                                    <Supertip>
                                        <Title resid="superTipTitle" />
                                        <Description resid="superTip" />
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="icon1_16x16" />
                                        <bt:Image size="32" resid="icon1_32x32" />
                                        <bt:Image size="80" resid="icon1_80x80" />
                                    </Icon>
                                    <Action xsi:type="ShowTaskpane">
                                        <SourceLocation resid="taskPaneUrl" />
                                    </Action>
                                </Control>
                            </Group>
                        </OfficeTab>
                    </ExtensionPoint>
                    <!-- Message compose -->
                    <ExtensionPoint xsi:type="MessageComposeCommandSurface">
                        <OfficeTab id="TabDefault">
                            <Group id="msgcomposeTabMessage.grp1">
                                <Label resid="groupLabel" />

                                <Control xsi:type="Button" id="msgcomposeTabMessage.grp1.btnView">
                                    <Label resid="buttonLabel" />
                                    <Supertip>
                                        <Title resid="superTipTitle" />
                                        <Description resid="superTip" />
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="icon1_16x16" />
                                        <bt:Image size="32" resid="icon1_32x32" />
                                        <bt:Image size="80" resid="icon1_80x80" />
                                    </Icon>
                                    <Action xsi:type="ShowTaskpane">
                                        <SourceLocation resid="taskPaneUrl" />
                                    </Action>
                                </Control>
                            </Group>
                        </OfficeTab>
                    </ExtensionPoint>
                    <!-- Appointment read form -->
                    <ExtensionPoint xsi:type="AppointmentAttendeeCommandSurface">
                        <OfficeTab id="TabDefault">
                            <Group id="apptReadGroup.grp1">
                                <Label resid="groupLabel" />

                                <Control xsi:type="Button" id="apptReadGroup.grp1.btnView">
                                    <Label resid="buttonLabel" />
                                    <Supertip>
                                        <Title resid="superTipTitle" />
                                        <Description resid="superTip" />
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="icon1_16x16" />
                                        <bt:Image size="32" resid="icon1_32x32" />
                                        <bt:Image size="80" resid="icon1_80x80" />
                                    </Icon>
                                    <Action xsi:type="ShowTaskpane">
                                        <SourceLocation resid="taskPaneUrl" />
                                    </Action>
                                </Control>
                            </Group>
                        </OfficeTab>
                    </ExtensionPoint>
                    <!-- Appointment compose form -->
                    <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
                        <OfficeTab id="TabDefault">
                            <Group id="apptComposeGroup.grp1">
                                <Label resid="groupLabel" />

                                <Control xsi:type="Button" id="apptComposeGroup.grp1.btnView">
                                    <Label resid="buttonLabel" />
                                    <Supertip>
                                        <Title resid="superTipTitle" />
                                        <Description resid="superTip" />
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="icon1_16x16" />
                                        <bt:Image size="32" resid="icon1_32x32" />
                                        <bt:Image size="80" resid="icon1_80x80" />
                                    </Icon>
                                    <Action xsi:type="ShowTaskpane">
                                        <SourceLocation resid="taskPaneUrl" />
                                    </Action>
                                </Control>
                            </Group>
                        </OfficeTab>
                    </ExtensionPoint>
                </DesktopFormFactor>
            </Host>
        </Hosts>

        <Resources>
            <bt:Images>
                <bt:Image id="icon1_16x16"
                    DefaultValue="https://mailapp.force.com/img/clients/mailapp/salesforce_16.png"></bt:Image>
                <bt:Image id="icon1_32x32"
                    DefaultValue="https://mailapp.force.com/img/clients/mailapp/salesforce_32.png"></bt:Image>
                <bt:Image id="icon1_80x80"
                    DefaultValue="https://mailapp.force.com/img/clients/mailapp/salesforce_80.png"></bt:Image>
            </bt:Images>
            <bt:Urls>
                <bt:Url id="taskPaneUrl" DefaultValue="https://sfdc-addin-tools.herokuapp.com/OutlookTokenDecoder.html"></bt:Url>
            </bt:Urls>
            <bt:ShortStrings>
                <bt:String id="groupLabel" DefaultValue="Sfdc Tools"></bt:String>
                <bt:String id="buttonLabel" DefaultValue="Test"></bt:String>
                <bt:String id="superTipTitle" DefaultValue="Show Related Salesforce Records"></bt:String>
            </bt:ShortStrings>
            <bt:LongStrings>
                <bt:String id="superTip"
                    DefaultValue="See Salesforce records related to people in your email and calendar events. Relate email and events to Salesforce records of your choice. And create new Salesforce records on the fly using Global Actions.">
                </bt:String>
            </bt:LongStrings>
        </Resources>

        <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1"
            xsi:type="VersionOverridesV1_1">
            <Hosts>
                <Host xsi:type="MailHost">
                    <DesktopFormFactor>
                        <!-- Message read -->
                        <ExtensionPoint xsi:type="MessageReadCommandSurface">
                            <OfficeTab id="TabDefault">
                                <Group id="msgreadTabMessage.grp1">
                                    <Label resid="groupLabel" />

                                    <Control xsi:type="Button" id="msgreadTabMessage.grp1.btnView">
                                        <Label resid="buttonLabel" />
                                        <Supertip>
                                            <Title resid="superTipTitle" />
                                            <Description resid="superTip" />
                                        </Supertip>
                                        <Icon>
                                            <bt:Image size="16" resid="icon1_16x16" />
                                            <bt:Image size="32" resid="icon1_32x32" />
                                            <bt:Image size="80" resid="icon1_80x80" />
                                        </Icon>
                                        <Action xsi:type="ShowTaskpane">
                                            <SourceLocation resid="taskPaneUrl" />
                                            <SupportsPinning>true</SupportsPinning>
                                        </Action>
                                    </Control>
                                </Group>
                            </OfficeTab>
                        </ExtensionPoint>
                        <!-- Message compose -->
                        <ExtensionPoint xsi:type="MessageComposeCommandSurface">
                            <OfficeTab id="TabDefault">
                                <Group id="msgcomposeTabMessage.grp1">
                                    <Label resid="groupLabel" />

                                    <Control xsi:type="Button" id="msgcomposeTabMessage.grp1.btnView">
                                        <Label resid="buttonLabel" />
                                        <Supertip>
                                            <Title resid="superTipTitle" />
                                            <Description resid="superTip" />
                                        </Supertip>
                                        <Icon>
                                            <bt:Image size="16" resid="icon1_16x16" />
                                            <bt:Image size="32" resid="icon1_32x32" />
                                            <bt:Image size="80" resid="icon1_80x80" />
                                        </Icon>
                                        <Action xsi:type="ShowTaskpane">
                                            <SourceLocation resid="taskPaneUrl" />
                                            <SupportsPinning>true</SupportsPinning>
                                        </Action>
                                    </Control>
                                </Group>
                            </OfficeTab>
                        </ExtensionPoint>
                        <!-- Appointment read form -->
                        <ExtensionPoint xsi:type="AppointmentAttendeeCommandSurface">
                            <OfficeTab id="TabDefault">
                                <Group id="apptReadGroup.grp1">
                                    <Label resid="groupLabel" />

                                    <Control xsi:type="Button" id="apptReadGroup.grp1.btnView">
                                        <Label resid="buttonLabel" />
                                        <Supertip>
                                            <Title resid="superTipTitle" />
                                            <Description resid="superTip" />
                                        </Supertip>
                                        <Icon>
                                            <bt:Image size="16" resid="icon1_16x16" />
                                            <bt:Image size="32" resid="icon1_32x32" />
                                            <bt:Image size="80" resid="icon1_80x80" />
                                        </Icon>
                                        <Action xsi:type="ShowTaskpane">
                                            <SourceLocation resid="taskPaneUrl" />
                                        </Action>
                                    </Control>
                                </Group>
                            </OfficeTab>
                        </ExtensionPoint>
                        <!-- Appointment compose form -->
                        <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
                            <OfficeTab id="TabDefault">
                                <Group id="apptComposeGroup.grp1">
                                    <Label resid="groupLabel" />

                                    <Control xsi:type="Button" id="apptComposeGroup.grp1.btnView">
                                        <Label resid="buttonLabel" />
                                        <Supertip>
                                            <Title resid="superTipTitle" />
                                            <Description resid="superTip" />
                                        </Supertip>
                                        <Icon>
                                            <bt:Image size="16" resid="icon1_16x16" />
                                            <bt:Image size="32" resid="icon1_32x32" />
                                            <bt:Image size="80" resid="icon1_80x80" />
                                        </Icon>
                                        <Action xsi:type="ShowTaskpane">
                                            <SourceLocation resid="taskPaneUrl" />
                                        </Action>
                                    </Control>
                                </Group>
                            </OfficeTab>
                        </ExtensionPoint>
                    </DesktopFormFactor>
                </Host>
            </Hosts>

            <Resources>
                <bt:Images>
                    <bt:Image id="icon1_16x16"
                        DefaultValue="https://mailapp.force.com/img/clients/mailapp/salesforce_16.png"></bt:Image>
                    <bt:Image id="icon1_32x32"
                        DefaultValue="https://mailapp.force.com/img/clients/mailapp/salesforce_32.png"></bt:Image>
                    <bt:Image id="icon1_80x80"
                        DefaultValue="https://mailapp.force.com/img/clients/mailapp/salesforce_80.png"></bt:Image>
                </bt:Images>
                <bt:Urls>
                    <bt:Url id="taskPaneUrl" DefaultValue="https://sfdc-addin-tools.herokuapp.com/OutlookTokenDecoder.html"></bt:Url>
                </bt:Urls>
                <bt:ShortStrings>
                    <bt:String id="groupLabel" DefaultValue="Sfdc Tools"></bt:String>
                    <bt:String id="buttonLabel" DefaultValue="Test"></bt:String>
                    <bt:String id="superTipTitle" DefaultValue="Show Related Salesforce Records"></bt:String>
                </bt:ShortStrings>
                <bt:LongStrings>
                    <bt:String id="superTip"
                        DefaultValue="See Salesforce records related to people in your email and calendar events. Relate email and events to Salesforce records of your choice. And create new Salesforce records on the fly using Global Actions.">
                    </bt:String>
                </bt:LongStrings>
            </Resources>

        </VersionOverrides>

    </VersionOverrides>
</OfficeApp>