Need help in Server Explorer Extension RRS feed

  • Question

  • Hi,

    I want to add custom menu item, which pops-up on right-clicking a user table(under Data Connections node) in Sever Explorer.

    Using EnableVSIPLogging trick, I got the Guid:Id for the right click of the table as Object Node and for the Tables folder, i got it as Static Node. And , I searched in all the .h files and .vsct files in VSSDK folder. But, i couldn't find the reference of it.

    Is it possible to add custom menu item on that context menu?

    Wednesday, September 14, 2016 7:34 PM


  • Hi Dinesh,

    Some of the more common symbols and id's have definitions defined in those SDK headers and sometimes in the managed package framework (VSConstants). But for a lot of the menu guids and id's (there are thousands of them), if you cannot readily find them, just define a GuidSymbol and IDSymbol in the Symbols section of your .VSCT and use those values. Specifically, you'll want to have a custom group parented to the guid and id you identified as belonging to that context menu, then specify the custom group as the parent of your command, and that should do it.


    Ed Dore

    Thursday, September 15, 2016 2:57 AM