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
extensions\60\TEMPLATE\LAYOUTS\1033"
The code is as follows:
strDisplayText=L_AuditInfo;
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.?
Do you know someone who can help? Share a link to this thread on twitter, or facebook.