Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

The ribbon item is dependent on ribbon control. Error while importing unmanaged solution

$
0
0

Hi,

Using Dynamics CRM Online, I am trying to remove the customization from the phone call ribbon that is returning an error while importing back to the unmanaged solution:

The ribbon item 'cc.phonecall.MainTab.MyAction.Action.CustomAction' is dependent on ribbon control id='cc.Mscrm.Form.phonecall.MainTab.ProductName.Controls'.

Although I am replacing the whole RibbonDiffXml block, the CRM is not allowing me import it back.

Here is what I replaced the PhoneCall's RibbonDiffXml in the customizations.xml

<RibbonDiffXml><CustomActions /><Templates><RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates></Templates><CommandDefinitions /><RuleDefinitions><TabDisplayRules /><DisplayRules /><EnableRules /></RuleDefinitions><LocLabels /></RibbonDiffXml>

That was previously defined as:


<CustomActions><CustomAction Id="cc.phonecall.MainTab.MyAction.Action.CustomAction" Location="cc.Mscrm.Form.phonecall.MainTab.ProductName.Controls._children" Sequence="10"><CommandUIDefinition><Button Command="cc.phonecall.Command.Playback" Id="cc.phonecall.MainTab.playback.play" Image32by32="/WebResources/cc_/images/play_audio.png" Image16by16="/WebResources/cc_/images/play_audio.png" LabelText="$LocLabels:cc.phonecall.MainTab.playback.play.LabelText" Sequence="10" TemplateAlias="o3" ToolTipTitle="$LocLabels:cc.phonecall.MainTab.playback.play.ToolTipTitle" ToolTipDescription="$LocLabels:cc.phonecall.MainTab.playback.play.ToolTipDescription" /></CommandUIDefinition></CustomAction></CustomActions><Templates><RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates></Templates><CommandDefinitions><CommandDefinition Id="cc.phonecall.Command.Playback"><EnableRules /><DisplayRules><DisplayRule Id="cc.phonecall.DisplayRule0.DisplayRule" /></DisplayRules><Actions><JavaScriptFunction FunctionName="AddPlaybackTransactionNew" Library="$webresource:cc_DialogScript" /></Actions></CommandDefinition><CommandDefinition Id="Mscrm.DeletePrimaryRecord"><EnableRules><EnableRule Id="Mscrm.FormStateNotNew" /><EnableRule Id="Mscrm.CanDeletePrimary" /></EnableRules><DisplayRules><DisplayRule Id="Mscrm.DeletePrimaryEntityPermission" /></DisplayRules><Actions><JavaScriptFunction FunctionName="Mscrm.CommandBarActions.deletePrimaryRecord" Library="/_static/_common/scripts/CommandBarActions.js"><CrmParameter Value="FirstPrimaryItemId" /><CrmParameter Value="PrimaryEntityTypeName" /></JavaScriptFunction></Actions></CommandDefinition></CommandDefinitions><RuleDefinitions><TabDisplayRules /><DisplayRules><DisplayRule Id="cc.phonecall.DisplayRule0.DisplayRule"><FormStateRule State="Disabled" Default="true" InvertResult="false" /></DisplayRule><DisplayRule Id="Mscrm.DeletePrimaryEntityPermission"><EntityPrivilegeRule PrivilegeType="Delete" PrivilegeDepth="Basic" AppliesTo="PrimaryEntity" /></DisplayRule></DisplayRules><EnableRules><EnableRule Id="cc.phonecall.EnableRule0.EnableRule"><ValueRule Field="cc_isrecordingavailable" Value="false" Default="false" InvertResult="true" /></EnableRule><EnableRule Id="Mscrm.CanDeletePrimary"><RecordPrivilegeRule PrivilegeType="Delete" AppliesTo="PrimaryEntity" /></EnableRule><EnableRule Id="Mscrm.FormStateNotNew"><FormStateRule State="Create" InvertResult="true" /></EnableRule></EnableRules></RuleDefinitions><LocLabels><LocLabel Id="cc.phonecall.MainTab.playback.play.LabelText"><Titles><Title description="Playback" languagecode="1033" /></Titles></LocLabel><LocLabel Id="cc.phonecall.MainTab.playback.play.ToolTipDescription"><Titles><Title description="Play call recording" languagecode="1033" /></Titles></LocLabel><LocLabel Id="cc.phonecall.MainTab.playback.play.ToolTipTitle"><Titles><Title description="Playback" languagecode="1033" /></Titles></LocLabel></LocLabels>



[blog] http://technologynotesforyou.wordpress.com [skype] ali.net.pk





Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>