24. April 2013 15:21
<Button Id="Mscrm.SubGrid.activitypointer.NewRecord" ToolTipTitle="$Resources(EntityDisplayName):Ribbon.SubGrid.MainTab.New" ToolTipDescription="$Resources(EntityDisplayName):Ribbon.Tooltip.New" Command="Mscrm.NewRecordFromGrid" Sequence="10" LabelText="$Resources(EntityDisplayName):Ribbon.SubGrid.MainTab.New" Image16by16="/_imgs/ribbon/NewRecord_16.png" Image32by32="/_imgs/ribbon/newrecord32.png" TemplateAlias="o1" />
<CommandDefinition Id="Mscrm.NewRecordFromGrid">
<EnableRules />
<DisplayRules>
<DisplayRule Id="Mscrm.CreateSelectedEntityPermission" />
<DisplayRule Id="Mscrm.ShowForNonRelationshipBoundGrids" />
<DisplayRule Id="Mscrm.PrimaryIsNotActivity" />
<DisplayRule Id="Mscrm.HideNewForChildEntities" />
<DisplayRule Id="Mscrm.HideAddressEntities" />
</DisplayRules>
<Actions>
<JavaScriptFunction FunctionName="openObj" Library="/_common/global.ashx">
<CrmParameter Value="SelectedEntityTypeCode" />
</JavaScriptFunction>
</Actions>
</CommandDefinition>
<FlyoutAnchor Id="Mscrm.SubGrid.activitypointer.NewActivitiesMenu" ToolTipTitle="$Resources(EntityDisplayName):Ribbon.SubGrid.AddNew" ToolTipDescription="$Resources:Mscrm_SubGrid_activitypointer_MainTab_Management_NewActivitiesMenu_ToolTipDescription" Command="Mscrm.AddNewActivityOnFormMenu" PopulateDynamically="true" PopulateQueryCommand="Mscrm.DynamicMenu.Subgrid.NewActivityMenu" Sequence="2" LabelText="$Resources(EntityDisplayName):Ribbon.SubGrid.AddNew" Alt="$Resources(EntityDisplayName):Ribbon.SubGrid.AddNew" Image16by16="/_imgs/ribbon/NewActivity_16.png" Image32by32="/_imgs/ribbon/NewActivity_32.png" TemplateAlias="o1" />
24. April 2013 18:02
25. April 2013 11:58