Oracle WebCenter Sites (MOSC)

MOSC Banner

How to add custom context menu in Search results of contributor UI

edited Mar 2, 2020 7:34PM in Oracle WebCenter Sites (MOSC) 1 comment

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)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center