Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Can't modify scanner issues context menu

Ergotu May 15, 2018 07:40AM UTC

When I try to add a context menu entry to the scanner issues context menu, nothing shows up, it also does not return a InvocationContext when I right click on the scanner issues.

Paul Johnston May 15, 2018 10:12AM UTC Support Center agent


There are two slightly different context menus for issues, depending on whether you’re in Issue Activity or Site Map. You can’t add to Issue Activity, but you can add to the site map context menu. If you look in the code for IContextMenuInvocation there are constants for the different values that getInvocationContext() can return.

Ergotu May 15, 2018 10:30AM UTC
Thanks for your response, according to the documentation for the extension api, there should be a constant for the scanner results context, CONTEXT_SCANNER_RESULTS, however, this context never shows up in any of my testing. So I don't know if this part of the api just isnt working, or if i'm misunderstanding what this constant is supposed to be for.

Paul Johnston May 15, 2018 10:38AM UTC Support Center agent

Hi Ergotu,

CONTEXT_SCANNER_RESULTS occurs if you right-click an issue within Target > Site Map > Issues.

Ergotu May 15, 2018 10:43AM UTC
Oh, thank you very much

Post Your public answer

Your name
Your email address