{"id":654,"date":"2015-09-29T11:25:11","date_gmt":"2015-09-29T16:25:11","guid":{"rendered":"https:\/\/gja.rfl.mybluehost.me\/website_fd74af1b\/webcenter-content-add-new-link-in-search-result-action-menu\/"},"modified":"2026-03-04T19:17:39","modified_gmt":"2026-03-04T19:17:39","slug":"webcenter-content-add-new-link-in-search-result-action-menu","status":"publish","type":"post","link":"https:\/\/onwardpath.com\/intelligence\/webcenter-content-add-new-link-in-search-result-action-menu\/","title":{"rendered":"WebCenter Content Add New Link in Search Result Action Menu"},"content":{"rendered":"\n<p class=\"\">Below is small snippet to add a&nbsp;New Link under Search Result <b>Action Menu<\/b> by idocs script in resource file,<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>\n&lt;@dynamichtml extra_setup_search_results_action_popups@&gt;\n&lt;$exec rsAppendNewRow(\"PopupProps\")<\/strong><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>gt; &lt;$exec setValue(\"PopupProps\", \"label\", \"&lt;Add your label here&gt;\")<\/strong><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>gt; &lt;$exec setValue(\"PopupProps\", \"ifClause\", \"&lt;Add your Conditions here&gt;\")<\/strong><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>gt; &lt;$exec setValue(\"PopupProps\", \"function\", \"&lt;Add URL for which we need to link&gt;\")<\/strong><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>gt; &lt;$exec setValue(\"PopupProps\", \"class\", \"document\")<\/strong><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>gt; &lt;$exec setValue(\"PopupProps\", \"id\", \"&lt;Any id here&gt;\")<\/strong><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>gt; &lt;$include super.extra_setup_search_results_action_popups<\/strong><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>gt; &lt;@end@&gt; <\/strong><\/pre>\n\n\n\n<p class=\"\">&nbsp;<\/p>\n\n\n\n<p class=\"\">Label &#8211;&gt; User Defined Label which should display for end User<br>ifClause Condition &#8211;&gt;&nbsp;(dExtension like &#8216;doc&#8217;)<br>URL &nbsp;&#8211;&gt; Any url as where to link (Ex:www.google.com)<\/p>\n\n\n\n<p class=\"\">Screenshot:<\/p>\n\n\n\n<p class=\"\"><\/p>\n\n\n\n<p class=\"\">&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below is small snippet to add a&nbsp;New Link under Search Result Action Menu by idocs script in resource file, &lt;@dynamichtml extra_setup_search_results_action_popups@&gt; &lt;$exec rsAppendNewRow(&#8220;PopupProps&#8221;) &nbsp; gt; &lt;$exec setValue(&#8220;PopupProps&#8221;, &#8220;label&#8221;, &#8220;&lt;Add your label here&gt;&#8221;) &nbsp; gt; &lt;$exec setValue(&#8220;PopupProps&#8221;, &#8220;ifClause&#8221;, &#8220;&lt;Add your Conditions here&gt;&#8221;) &nbsp; gt; &lt;$exec setValue(&#8220;PopupProps&#8221;, &#8220;function&#8221;, &#8220;&lt;Add URL for which we need to link&gt;&#8221;) &nbsp; [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":4190,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[37,19],"tags":[75,76],"class_list":["post-654","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology-blog","category-webcenter","tag-idocscript","tag-webcenter-content-component"],"jetpack_featured_media_url":"https:\/\/onwardpath.com\/intelligence\/wp-content\/uploads\/2020\/09\/26-adding-link.jpg","_links":{"self":[{"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/posts\/654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/comments?post=654"}],"version-history":[{"count":2,"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/posts\/654\/revisions"}],"predecessor-version":[{"id":6921,"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/posts\/654\/revisions\/6921"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/media\/4190"}],"wp:attachment":[{"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/media?parent=654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/categories?post=654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onwardpath.com\/intelligence\/wp-json\/wp\/v2\/tags?post=654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}