none
Custom ECB Menu Item - Problem Installing Feature - Type attribute is not declared RRS feed

  • Question

  • I was able to add a custom item to the ECB Menu successfully in my development environment, however I am getting the following error when I try to install the feature in my QA environment:

    Feature definition with Id 7b7d72ad-8742-42de-b23c-87789cda4b98 failed validation, file 'elements.xml', line 9, character 9:
    The 'Type' attribute is not declared.

    Below is my elements.xml file:

    <?xml version="1.0" encoding="utf-8" ?>

    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">


      <CustomAction Id="my id"
            RegistrationType="List"
            RegistrationId="101"
            Type="ECBItem"
            Location="EditControlBlock"
            Sequence="900"
            Title="my title"
            Description="my description" >
            <UrlAction Url="~site/_layouts/mycustompage.aspx?ListId={ListId}"/>
      </CustomAction>
     
    </Elements>

    Again, the feature and custom menu item are working fine in dev, and the QA environment is running the same version of MOSS as dev.
    Thursday, March 27, 2008 4:51 PM

Answers

All replies