I have a custom ribbon action that I want to add to my specific list called "Meeting", it's a calendar type list..
My custom action XML is as follows:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Description="View Agenda"
Title="View Agenda"
Id="{A6A6E30B-FB11-4CB3-8D39-3D1159CED532}"
Location="CommandUI.Ribbon.DisplayForm"
RegistrationId="Meeting"
RegistrationType="List"
Sequence="5"
Rights="ViewListItems"
xmlns="http://schemas.microsoft.com/sharepoint/">
<CommandUIExtension xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- Define the (UI) button to be used for this custom action -->
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.ListForm.Display.Manage.Controls._children">
<Button Id="{F984D5B5-5474-4C1E-BF9C-713C67E70F2A}"
Command="{A9424973-D302-4D7D-98B9-7489B6682780}"
Image32by32="~/_layouts/15/ViewAgenda.png"
Image16by16="/_layouts/15/ViewAgenda.png"
Sequence="5"
LabelText="View Agenda"
Description="View Agenda"
TemplateAlias="o1"/>
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<!-- Define the action expected on the button click -->
<CommandUIHandler Command="{A9424973-D302-4D7D-98B9-7489B6682780}" CommandAction="~site/SitePages/Agenda.aspx" />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
</Elements>
But it doesn't work for me, but when I changed RegistrationId="108", all calendar type list has my custom ribbon action. How would I change this code to make it for specific list (Only for Meetings list). Note: I don't want to go for content types.
Thanks