Oracle WebCenter Content (MOSC)

MOSC Banner

Unable to display action menu items in the search results page based on conditions

edited Jun 5, 2013 5:55PM in Oracle WebCenter Content (MOSC) 3 commentsAnswered
Hi,We need to add some extra items to the Action Popup Menu in the search results page. We are able to do so using extra_setup_search_results_action_popups as given below.

@dynamichtml extra_setup_search_results_action_popups@>
<$include super.extra_setup_search_results_action_popups$>
<$exec rsAppendNewRow("PopupProps")$>
<$exec setValue("PopupProps", "label", "Cancel Item")$>
<$exec setValue("PopupProps", "function", "javascript:CancelItem('<$dID$>','<$dDocName$>'$>
<$exec setValue("PopupProps", "ifClause", "not isExternallyManagedDoc")$>
<$exec setValue("PopupProps", "linkTarget", "<$docLinkTarget$>")$>
<$exec setValue("PopupProps", "class", "document")$>
<$exec setValue("PopupProps", "id", "CanceItem")$>
<@end@&gt;

With this we are able to see the 'Cancel Item' option available in the Action Menu for each content appearing in the search results.

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