<RibbonDiffXml>
<CustomActions>
<CustomAction Id="alm.aml.Form.contact.MainTab.Actions.matt.CustomAction" Location="Mscrm.Form.contact.MainTab.Actions.Controls._children" Sequence="39">
<CommandUIDefinition>
<Button Command="aml.Form.contact.MainTab.Actions.matt.Command" Id="aml.Form.contact.MainTab.Actions.matt" Image32by32="$webresource:alm_logomatt_32x32.png" Image16by16="$webresource:alm_logomatt_16x16.png" LabelText="$LocLabels:aml.Form.contact.MainTab.Actions.matt.LabelText" Sequence="39" TemplateAlias="isv" ToolTipTitle="$LocLabels:aml.Form.contact.MainTab.Actions.matt.ToolTipTitle" ToolTipDescription="$LocLabels:aml.Form.contact.MainTab.Actions.matt.ToolTipDescription" />
</CommandUIDefinition>
</CustomAction>
<CustomAction Id="alm.aml.Form.contact.MainTab.Actions.pharmacy_schedule.CustomAction" Location="Mscrm.Form.contact.MainTab.Actions.Controls._children" Sequence="29">
<CommandUIDefinition>
<Button Command="aml.Form.contact.MainTab.Actions.pharmacy_schedule.Command" Id="aml.Form.contact.MainTab.Actions.pharmacy_schedule" Image32by32="$webresource:alm_searchtool_32x32.png" Image16by16="$webresource:alm_searchtool_16x16.png" LabelText="$LocLabels:aml.Form.contact.MainTab.Actions.pharmacy_schedule.LabelText" Sequence="29" TemplateAlias="isv" ToolTipTitle="$LocLabels:aml.Form.contact.MainTab.Actions.pharmacy_schedule.ToolTipTitle" ToolTipDescription="$LocLabels:aml.Form.contact.MainTab.Actions.pharmacy_schedule.ToolTipDescription" />
</CommandUIDefinition>
</CustomAction>
<CustomAction Id="alm.aml.Form.contact.MainTab.Actions.Recode.CustomAction" Location="Mscrm.Form.contact.MainTab.Actions.Controls._children" Sequence="59">
<CommandUIDefinition>
<Button Command="aml.Form.contact.MainTab.Actions.Recode.Command" Id="aml.Form.contact.MainTab.Actions.Recode" Image32by32="/_imgs/ribbon/Assign_32.png" Image16by16="/_imgs/ribbon/Assign_16.png" LabelText="$LocLabels:aml.Form.contact.MainTab.Actions.Recode.LabelText" Sequence="59" TemplateAlias="isv" ToolTipTitle="$LocLabels:aml.Form.contact.MainTab.Actions.Recode.ToolTipTitle" ToolTipDescription="$LocLabels:aml.Form.contact.MainTab.Actions.Recode.ToolTipDescription" />
</CommandUIDefinition>
</CustomAction>
<CustomAction Id="alm.aml.Form.contact.MainTab.eContracting.CustomAction" Location="Mscrm.Form.contact.MainTab.Groups._children" Sequence="35">
<CommandUIDefinition>
<Group Command="Mscrm.Enabled" Description="$LocLabels:aml.Form.contact.MainTab.eContracting.Title" Id="aml.Form.contact.MainTab.eContracting" Image32by32Popup="" Sequence="35" Template="Mscrm.Templates.Flexible2" Title="$LocLabels:aml.Form.contact.MainTab.eContracting.Title">
<Controls Id="aml.Form.contact.MainTab.eContracting.Controls">
<Button Command="amlaml.Form.contact.MainTab.eContracting.agentInvite.Command" Id="amlaml.Form.contact.MainTab.eContracting.agentInvite" Image32by32="$webresource:alm_contract_32x32.png" Image16by16="$webresource:alm_contract_16x16.png" LabelText="$LocLabels:amlaml.Form.contact.MainTab.eContracting.agentInvite.LabelText" Sequence="20" TemplateAlias="o2" ToolTipTitle="$LocLabels:amlaml.Form.contact.MainTab.eContracting.agentInvite.ToolTipTitle" ToolTipDescription="$LocLabels:amlaml.Form.contact.MainTab.eContracting.agentInvite.ToolTipDescription" />
</Controls>
</Group>
</CommandUIDefinition>
</CustomAction>
<CustomAction Id="alm.aml.Form.contact.MainTab.eContracting.MaxSize.CustomAction" Location="Mscrm.Form.contact.MainTab.Scaling._children" Sequence="10">
<CommandUIDefinition>
<MaxSize GroupId="aml.Form.contact.MainTab.eContracting" Id="aml.Form.contact.MainTab.eContracting.MaxSize" Sequence="10" Size="LargeMedium" />
</CommandUIDefinition>
</CustomAction>
<CustomAction Id="alm.aml.Form.contact.MainTab.eContracting.Scale.Popup.CustomAction" Location="Mscrm.Form.contact.MainTab.Scaling._children" Sequence="300">
<CommandUIDefinition>
<Scale GroupId="aml.Form.contact.MainTab.eContracting" Id="aml.Form.contact.MainTab.eContracting.Scale.Popup" Sequence="300" Size="Popup" />
</CommandUIDefinition>
</CustomAction>
<HideCustomAction HideActionId="alm.amlaml.Form.contact.MainTab.eContracting.agentInvite.Hide" Location="amlaml.Form.contact.MainTab.eContracting.agentInvite" />
<HideCustomAction HideActionId="amlMscrm.HomepageGrid.contact.SendDirectEmail.HideAction" Location="Mscrm.HomepageGrid.contact.SendDirectEmail" />
<HideCustomAction HideActionId="amlMscrm.SubGrid.contact.AddEmail.HideAction" Location="Mscrm.SubGrid.contact.AddEmail" />
<HideCustomAction HideActionId="amlMscrm.SubGrid.contact.MailMerge.HideAction" Location="Mscrm.SubGrid.contact.MailMerge" />
<HideCustomAction HideActionId="Mscrm.SubGrid.contact.AddExistingAssoc.HideAction" Location="Mscrm.SubGrid.contact.AddExistingAssoc" />
</CustomActions>
<Templates>
<RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
</Templates>
<CommandDefinitions>
<CommandDefinition Id="aml.Form.contact.MainTab.Actions.matt.Command">
<EnableRules />
<DisplayRules />
<Actions>
<JavaScriptFunction FunctionName="SetupMATT" Library="alm_contact.js" />
</Actions>
</CommandDefinition>
<CommandDefinition Id="aml.Form.contact.MainTab.Actions.pharmacy_schedule.Command">
<EnableRules />
<DisplayRules />
<Actions>
<JavaScriptFunction FunctionName="SchedulerToggle" Library="alm_schedule.js" />
</Actions>
</CommandDefinition>
<CommandDefinition Id="aml.Form.contact.MainTab.Actions.Recode.Command">
<EnableRules />
<DisplayRules />
<Actions>
<JavaScriptFunction FunctionName="AssignMarketing" Library="$webresource:alm_contact.js" />
</Actions>
</CommandDefinition>
<CommandDefinition Id="amlaml.Form.contact.MainTab.eContracting.agentInvite.Command">
<EnableRules />
<DisplayRules />
<Actions>
<JavaScriptFunction FunctionName="eContractingInvitation" Library="alm_contact.js" />
</Actions>
</CommandDefinition>
</CommandDefinitions>
<RuleDefinitions>
<TabDisplayRules />
<DisplayRules>
<DisplayRule Id="aml.Form.contact.MainTab.Actions.eContracting.Command.DisplayRule.EntityPrivilegeRule">
<EntityPrivilegeRule PrivilegeType="Read" PrivilegeDepth="None" EntityName="contract" Default="true" />
</DisplayRule>
<DisplayRule Id="aml.HomepageGrid.contact.MainTab.Actions.iSeriesSearch.Command.DisplayRule.EntityPrivilegeRule">
<EntityPrivilegeRule PrivilegeType="Share" PrivilegeDepth="Basic" AppliesTo="PrimaryEntity" EntityName="quote" Default="true" />
</DisplayRule>
</DisplayRules>
<EnableRules>
<EnableRule Id="aml.Form.contact.MainTab.Collaborate.RecodeContact.Command.EnableRule.CustomRule">
<CustomRule FunctionName="DisplayRecode" Library="alm_contact.js" Default="true" InvertResult="false" />
</EnableRule>
<EnableRule Id="aml.Form.contact.MainTab.Collaborate.RecodeContact.Command.EnableRule.FormStateRule">
<FormStateRule State="Create" Default="true" InvertResult="true" />
</EnableRule>
</EnableRules>
</RuleDefinitions>
<LocLabels>
<LocLabel Id="aml.Form.contact.MainTab.Actions.matt.LabelText">
<Titles>
<Title description="Medicare Advantage Tracking Tool" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="aml.Form.contact.MainTab.Actions.matt.ToolTipDescription">
<Titles>
<Title description="Medicare Advantage Tracking Tool" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="aml.Form.contact.MainTab.Actions.matt.ToolTipTitle">
<Titles>
<Title description="Medicare Advantage Tracking Tool" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="aml.Form.contact.MainTab.Actions.pharmacy_schedule.LabelText">
<Titles>
<Title description="Agent Search Tool" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="aml.Form.contact.MainTab.Actions.pharmacy_schedule.ToolTipDescription">
<Titles>
<Title description="Search for nearby pharmacies and hospitals." languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="aml.Form.contact.MainTab.Actions.pharmacy_schedule.ToolTipTitle">
<Titles>
<Title description="Agent Search Tool" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="aml.Form.contact.MainTab.Actions.Recode.LabelText">
<Titles>
<Title description="Recode Agent" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="aml.Form.contact.MainTab.Actions.Recode.ToolTipDescription">
<Titles>
<Title description="Recodes all open opportunites for the agent." languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="aml.Form.contact.MainTab.Actions.Recode.ToolTipTitle">
<Titles>
<Title description="Recode Agent" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="aml.Form.contact.MainTab.eContracting.Title">
<Titles>
<Title description="eContracting" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="amlaml.Form.contact.MainTab.eContracting.agentInvite.LabelText">
<Titles>
<Title description="Invite Agent" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="amlaml.Form.contact.MainTab.eContracting.agentInvite.ToolTipDescription">
<Titles>
<Title description="Invite an agent to use eContracting" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="amlaml.Form.contact.MainTab.eContracting.agentInvite.ToolTipTitle">
<Titles>
<Title description="Invite Agent" languagecode="1033" />
</Titles>
</LocLabel>
</LocLabels>
</RibbonDiffXml>