Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Custom Document Library Upload Feature

  Asked By: Ruben    Date: Nov 15    Category: Sharepoint    Views: 1861

I created a custom feature that adds a custom action to the upload
menu in a document library. The feature is supposed to be a custom
document library type called Documentation. I want the menu item to
only show up in that document. The way I created the feature was to
simply copy the existing document library feature and add another xml
schema to the Feature.xml file. I then add the following in my
custom xml file.

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction Id="UploadCustom"
RegistrationType="List"
GroupId="UploadMenu"
Location="Microsoft.SharePoint.StandardMenu"
Sequence="1001"
Title="Documentation Upload"
ImageUrl="/_layouts/images/custom/blueFolder.jpg"
Description="Upload and classify a document from
your computer into this library.">
<UrlAction
Url="/pages/UploadCustom.aspx?listName={ListId}"/>
</CustomAction>
</Elements>

The new menu item shows up in the upload menu and works great. But
it also is showing up in all the other document libraries as well.
Any suggestions?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Custom Document Library Upload Feature Or get search suggestion and latest updates.




Tagged: