I spent quite a bit of time yesterday tracking down a bug on a customised MySite. When you add document library list views to the page, and the view includes a column linked to an edit menu, the first one added to the page gets the wrong menu:
This wouldn’t be too much of a problem in itself, except that the links don’t work, producing an error about “” being an invalid url.
After spending plenty of time eliminating all the possible custom code related causes (this is happening on a very heavily customised system), the problem turns out to be a conflict between the list view web part and the colleage tracker.
A couple of possible solutions come to mind:
- Extend ContactLinksMicroView (the internal name for colleage tracker), overriding the CreateCustomMenu method to return nothing, and use the customised webpart instead.
- Export the Document Library List View web part (via SharePoint Designer) and modify the list view xml to use something other than ctx1 to hold the menu settings.
Extending the existing Colleague tracker web part works very well and turns out to be quite easy. It has the added advantage of being a modification to the web part that actually has the bug.