Pat’s .Net and Sharepoint Blog
In the Microsoft Sharepoint and .Net Trenches

Custom Action Feature is installed but why don’t I see it??!!

March 26th, 2008 . by <Patrick/>

I created a custom action that is supposed to show up in the Actions drop down of a document library but it’s not.

Here’s my code:

 <?xml version=”1.0″ encoding=”utf-8″?>
<Elements Id=”745bc8db-3859-49fc-ac9d-4ebf74e1929e” xmlns=”http://schemas.microsoft.com/sharepoint/”>
  <CustomAction
  Id=”CheckInAll”
  RegistrationType=”List”
  RegistrationId=”101″
  GroupId=”ActionsMenu”
  Location=”Microsoft.Sharepoint.StandardMenu”
  ImageUrl=”~site/_layouts/images/checkin.GIF”
  Sequence=”1000″
  Title=”Check In All Documents” >
    <UrlAction Url=”~site/_layouts/CheckInAll.aspx?ListId={ListId}”/>
  </CustomAction>
</Elements>

Here’s the code that worked:

<?xml version=”1.0″ encoding=”utf-8″?>
<Elements Id=”745bc8db-3859-49fc-ac9d-4ebf74e1929e” xmlns=”http://schemas.microsoft.com/sharepoint/”>
  <CustomAction
  Id=”CheckInAll”
  RegistrationType=”List”
  RegistrationId=”101″
  GroupId=”ActionsMenu”
  Location=”Microsoft.SharePoint.StandardMenu”
  ImageUrl=”~site/_layouts/images/checkin.GIF”
  Sequence=”1000″
  Title=”Check In All Documents” >
    <UrlAction Url=”~site/_layouts/CheckInAll.aspx?ListId={ListId}”/>
  </CustomAction>
</Elements>

Can you spot the difference? Hint: the letter P