Below is small snippet to add a New Link under Search Result Action Menu by idocs script in resource file,


<@dynamichtml extra_setup_search_results_action_popups@>
<$exec rsAppendNewRow("PopupProps")$>
<$exec setValue("PopupProps", "label", "<Add your label here>")$>
<$exec setValue("PopupProps", "ifClause", "<Add your Conditions here>")$>

<$exec setValue("PopupProps", "function", "<Add URL for which we need to link>")$>

<$exec setValue("PopupProps", "class", "document")$>
<$exec setValue("PopupProps", "id", "<Any id here>")$>

<$include super.extra_setup_search_results_action_popups$>
<@end@>

 

Label –> User Defined Label which should display for end User
ifClause Condition –> (dExtension like ‘doc’)
URL  –> Any url as where to link (Ex:www.google.com)

Screenshot:

Add_Link (1)