CRM 2011 -Ribona Grup Buton Ekleme (Adding a new Button Group to the CRM Ribbon)


<CustomActions>
  <CustomAction Id="Mscrm.Form.account.CustomGroup.CustomAction"
                Location="Mscrm.Form.account.MainTab.Groups._children"
                Sequence="110">
    <CommandUIDefinition>
      <Group Id="Mscrm.Form.account.CustomGroup.Group"
              Command="Mscrm.Form.account.CustomGroup.Command"
              Title="Group Button"
              Sequence="51"
              Template="Mscrm.Templates.Flexible2">
        <Controls Id="Mscrm.Form.account.CustomGroup.Controls">
          <Button Id="Mscrm.Form.account.CustomGroup.Button.Buton1"
                  Command="Mscrm.Form.account.CustomGroup.Button.Buton1.Command"
                  Sequence="10"
                  LabelText="Button 1"
                  ToolTipTitle="TipTitle"
                  ToolTipDescription="TipDescription"
                  TemplateAlias="o1"
                  Image16by16="/_imgs/ribbon/newchart16.png"
                  Image32by32="/_imgs/ribbon/newchart32.png"  />
          <Button Id="Mscrm.Form.account.CustomGroup.Button.Buton2"
                  Command="Mscrm.Form.account.CustomGroup.Button.Buton2.Command"
                  Sequence="20"
                  LabelText="Button 2"
                  ToolTipTitle="TipTitle"
                  ToolTipDescription="TipDescription"
                  TemplateAlias="o1"
                  Image16by16="/_imgs/ribbon/CustomEntity_16.png"
                  Image32by32="/_imgs/ribbon/CustomEntity_32.png"   />
        </Controls>
      </Group>
    </CommandUIDefinition>
  </CustomAction>
  <CustomAction Id="Mscrm.Form.account.CustomGroup.MaxSize.CustomAction"
                Location="Mscrm.Form.account.MainTab.Scaling._children"
                Sequence="120">
    <CommandUIDefinition>
      <MaxSize  Id="Mscrm.Form.account.CustomGroup.MaxSize"
                GroupId="Mscrm.Form.account.CustomGroup.Group"
                Sequence="21"
                Size="LargeLarge" />
    </CommandUIDefinition>
  </CustomAction>
  <CustomAction Id="Mscrm.Form.account.CustomGroup.Popup.CustomAction"
                Location="Mscrm.Form.account.MainTab.Scaling._children"
                Sequence="140">
    <CommandUIDefinition>
      <Scale    Id="Mscrm.Form.account.CustomGroup.Popup.1"
                GroupId="Mscrm.Form.account.CustomGroup.Group"
                Sequence="85"
                Size="Popup" />
    </CommandUIDefinition>
  </CustomAction>
</CustomActions>

Hiç yorum yok:

Yorum Gönder