How to add custom context menu in Search results of contributor UI
I tried adding the new context menus by creating the SiteConfigHtml.jsp for my site and added below configuration.
config.contextMenus = {
"default":["bookmark", "tagasset", "delete","mytag"],
"asset":["edit", "copy", "preview", "share", "delete", "bookmark", "tagasset","mytag"],
"asset/Page":["edit", "copy", "preview", "delete", "bookmark", "tagasset","mytag"],
"asset/WCS_Dashboard":["bookmark", "tagasset"],
"asset/WCS_ABTest":["edit", "copy", "preview", "share", "delete", "bookmark", "tagasset", "abtest-report"],
"proxy":["preview", "bookmark", "tagasset", "delete","mytag"],
"asset/ContentCloud":["preview", "bookmark"]
};
But it does not come up. On rt clicking the search results for context menu, the existing list shows up and shows the error on browser console.(Inspect mode)