Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Context menu for document library

  Asked By: Ganesh    Date: Dec 28    Category: Sharepoint    Views: 2905

I want to add a context menu for a particular document library.
I have added code in ows.js file located in

"c:\Program Files\Common Files\Microsoft Shared\web server

The code is as follows:

strAction = "STSNavigate('" + ctx.HttpRoot + "/_layouts/" +L_Testpath +
"/LnTDesignWorkflow.aspx?list=" + ctx.listName + "&item=" + currentItemID
+ GetRootFolder(ctx) + "')";
strImagePath = ctx.imagesPath + "AuditInfo.gif";
CAMOpt(m, strDisplayText,strAction,strImagePath);

My menuitem "AuditInfo" is added in the context menu but it appears in all
the document library.
I want my item to be displayed for particular document library to which i
have attached my dll..

How it can be achived.?



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

Didn't find what you were looking for? Find more on Context menu for document library Or get search suggestion and latest updates.