Hi,
I tried to display ribbon button in subgrid ,but i di'dn;t see it.
I tried this post. without sucees.http://codestips.com/crm-2011-display-ribbon-button-in-subgrid/
What do I miss?
Thanks ahead,
Daniel Shitrit
Sniped code:
=========
<Entities>
<Entity>
<Name LocalizedName="LPM Project" OriginalName="LPM Project">new_lpmproject</Name>
......
<RibbonDiffXml>
<CustomActions>
<CustomAction Id="WebsitesPlacements.CustomAction" Location="Mscrm.SubGrid.new_lpmproject.MainTab.Workflow.Controls._children" Sequence="71">
<CommandUIDefinition>
<Button Id="WebsitesPlacements.Button" Command="WebsitesPlacements.Command" Sequence="20" ToolTipTitle="Websites Placements" LabelText="Websites Placements" ToolTipDescription="Websites Placements" TemplateAlias="o1" Image16by16="$webresource:new_WebsitesPlacements_16x16" Image32by32="$webresource:new_WebsitesPlacements_32x32" />
</CommandUIDefinition>
</CustomAction>
</CustomActions>
<Templates>
<RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
</Templates>
<CommandDefinitions>
<CommandDefinition Id="WebsitesPlacements.Command">
<EnableRules />
<DisplayRules>
<DisplayRule Id="110" />
<DisplayRule Id="111" />
</DisplayRules>
<Actions>
<Url Address="http://pcrm/Adzz/WebResources/new_/WebsitesPlacementsSilverlightTestPage.html" PassParams="true" WinMode="0" WinParams="height=500, width=600, toolbar=no, resizable=yes">
<CrmParameter Name="Data" Value="SelectedControlSelectedItemIds" />
</Url>
</Actions>
</CommandDefinition>
</CommandDefinitions>
<RuleDefinitions>
<TabDisplayRules />
<DisplayRules>
<DisplayRule Id="110">
<EntityRule AppliesTo="SelectedEntity" Context="SubGridStandard" InvertResult="false" />
</DisplayRule>
<DisplayRule Id="111">
<FormEntityContextRule EntityName="new_newpost" />
</DisplayRule>
</DisplayRules>
<EnableRules />
</RuleDefinitions>
<LocLabels />
</RibbonDiffXml>
*This post is locked for comments
I have the same question (0)