Quantcast
Channel: CRM Development Forum
Viewing all articles
Browse latest Browse all 888

Ribbon Error

$
0
0

Hi,

I am trying to add one ribbon button in Account entity and i am getting the error while importing into CRM 2011 Application. When i click on technical Details, it says "ID" attribute is not declared. Placed the both code and error message below.

Ribbon Code:-

<RibbonDiffXml><!--Mscrm.HomepageGrid.account.MainTab.Management.Controls.--><CustomActions Id="GT.account.Form.Star.CustomAction" Locaction="Mscrm.Form.account.MainTab.Management.Controls._children" Sequence="1"><CommandUIDefinition><Button Id="GT.account.Form.Star.Button" Command="GT.account.Form.Star.Command" LabelText="Star" ToolTipTitle="Tip" ToolTipDescription="This is a Star" TemplateAlias="o1" Image16by16="/Images/PostConfig_16px.png" Image32by32="/Images/PostConfig_32px.png"/></CommandUIDefinition></CustomActions><Templates><RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates></Templates><CommandDefinitions><CommandDefinition Id="GT.account.Form.Star.Command"><EnableRules></EnableRules><DisplayRules></DisplayRules><Actions><Url Address="http://www.google.com" /></Actions>          </CommandDefinition></CommandDefinitions><RuleDefinitions><TabDisplayRules /><DisplayRules /><EnableRules /></RuleDefinitions><LocLabels /></RibbonDiffXml>


Error Message:-

The 'Id' attribute is not declared. mapping="logical" distinct="true"><entity name="account"><attribute name="name" /><attribute name="primarycontactid" />

<attribute name="telephone1" /><order attribute="name" descending="false" />\

<link-entity name="contact" from="contactid" to="primarycontactid" visible="false" link-type="outer" alias="accountprimarycontactidcontactcontactid">

<attribute name="emailaddress1" /></link-entity><link-entity name="postfollow" from="regardingobjectid" to="accountid" alias="aa">

<filter type="and"><condition attribute="ownerid" operator="eq-userid" /></filter></link-entity><attribute name="accountid" />

<attribute name="statecode" /></entity></fetch></fetchxml>

<LocalizedNames><LocalizedName description="Accounts I Follow" languagecode="1033" />

</LocalizedNames><Descriptions><Description description="Accounts that you follow." languagecode="1033" />

</Descriptions></savedquery></savedqueries></SavedQueries><RibbonDiffXml><!--Msc

.HomepageGrid.account.MainTab.Management.Controls.-->

<CustomActions Id="GT.account.Form.Star.CustomAction" Locaction="Mscrm.Form.account.MainTab.Management.Controls._children" Sequence="1">

<CommandUIDefinition>

<Button Id="GT.account.Form.Star.Button" Command="GT.account.Form.Star.Command" LabelText="Star" ToolTipTitle="Tip" ToolTipDescription="This is a Star" TemplateAlias="o1" Image16by16="/Images/PostConfig_16px.png" Image32by32="/Images/PostConfig_32px.png" />

</CommandUIDefinition></CustomActions><Templates><RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates></Templates><CommandDefinitions><CommandDefinition Id="GT.account.Form.Star.Command">

<EnableRules></EnableRules><DisplayRules></DisplayRules><Actions><Url Address="http://www.google.com" /></Actions></CommandDefinition></CommandDefinitions><RuleDefinitions><TabDisplayRules />

<DisplayRules /><EnableRules /></RuleDefinitions><LocLabels /></RibbonDiffXml></Entity><Entity><Name LocalizedName="Activity" OriginalName="Activity">ActivityPointer</Name><ObjectTypeCode>4200</ObjectTypeCode><RibbonDiff

Could you please help me how to fix the issue.

Thanks

Kumar R


Viewing all articles
Browse latest Browse all 888

Trending Articles



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