<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice?? in ServiceNow AI Platform forum</title>
    <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158358#M114747</link>
    <description>&lt;P&gt;Hi, you could do this by modifying the &lt;STRONG&gt;kb_view&lt;/STRONG&gt; UI page.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Berny&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 10 Jul 2015 07:16:24 GMT</pubDate>
    <dc:creator>bernyalvarado</dc:creator>
    <dc:date>2015-07-10T07:16:24Z</dc:date>
    <item>
      <title>Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158357#M114746</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am trying to display the information message, when I open a knowledge article through the knowledge search under the self-service application depending upon the state. Have anybody worked on such kind of requirement or if have any ideas could you please help me in achieving this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh Kumar.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 07:10:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158357#M114746</guid>
      <dc:creator>dineshkumarmogu</dc:creator>
      <dc:date>2015-07-10T07:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158358#M114747</link>
      <description>&lt;P&gt;Hi, you could do this by modifying the &lt;STRONG&gt;kb_view&lt;/STRONG&gt; UI page.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Berny&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2015 07:16:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158358#M114747</guid>
      <dc:creator>bernyalvarado</dc:creator>
      <dc:date>2015-07-10T07:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158359#M114748</link>
      <description>&lt;P&gt;Hi Berny,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;When we are searching the articles by giving the article search words in the search box, we are getting all the articles that are created with those texts, so out of those articles when we click on the required article to open, we need to get the information message. Is this possible. Also, it would be great if you can share, some pointers regarding how to implement this functionality as I am new to jelly.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Dinesh Kumar&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2015 07:24:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158359#M114748</guid>
      <dc:creator>dineshkumarmogu</dc:creator>
      <dc:date>2015-07-10T07:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158360#M114749</link>
      <description>&lt;P&gt;Hi Dinesh, yes. It's possible &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/happy.png"&gt;&lt;/SPAN&gt; The UI page that it's invoked is the &lt;STRONG style="font-size: 12px; font-family: arial, sans-serif; color: #666666; background-color: #f6f6f6;"&gt;kb_view&lt;/STRONG&gt; one.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I hope this is helpful! I will try soon to provide some further pointer of where to do the change&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Berny&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2015 07:30:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158360#M114749</guid>
      <dc:creator>bernyalvarado</dc:creator>
      <dc:date>2015-07-10T07:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158361#M114750</link>
      <description>&lt;P&gt;Thanks Berny &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2015 07:32:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158361#M114750</guid>
      <dc:creator>dineshkumarmogu</dc:creator>
      <dc:date>2015-07-10T07:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158362#M114751</link>
      <description>&lt;P&gt;Hi Dinesh, please see in the below code in bold "&lt;STRONG style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333330154419px;"&gt;Congratulations you got a message&lt;/STRONG&gt;" the places where you will like to add your message&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&amp;lt;j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;j2:set var="jvar_hide_response_time" value="true" /&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;g:inline template="ie_checker.xml" /&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;g:requires name="scripts/lib/jquery_includes.js"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;g:requires name="styles/knowledge.ng/css_includes_knowledge.css" includes="true"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;j2:if test="$[!jvar_isMSIE7]"&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;j2:if test="$[!jvar_isMSIE8]"&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;g:requires name="scripts/classes/timeAgo.js"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;/j2:if&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;/j2:if&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;!-- Common styles are loaded in the "Knowledge Common Styles" stylesheet --&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;link href="b3ba3821d73221004792a1737e610382.cssdbx?v=${gs.getProperty('glide.builddate')}" type="text/css" rel="stylesheet"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;g:evaluate jelly="true" copyToRhino="true"&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var uiMacro = "kb_view_legacy";&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var kbViewModel = new KBViewModel();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var kbViewInfo = kbViewModel;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; kbViewModel.getInfo();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var canContributeHelper = new SNC.KnowledgeHelper();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var knowledgeHelp = new KnowledgeHelp();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var historyRowCount = 0;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var isValidRecord = kbViewModel.isValid;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var knowledgeExists = kbViewModel.knowledgeExists;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var NOT_RETIRED = gs.getMessage("Article not retired");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var NOT_PUBLISHED = gs.getMessage("Article not published");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var NOT_SAVED = gs.getMessage("Article not saved");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var SAVED = gs.getMessage("Article saved");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var DISCARDED = gs.getMessage("Article changes discarded");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var SUBMITTED = gs.getMessage("Your article has been submitted");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var PREVIEW = gs.getMessage(" Preview ");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var PREVIEW_HINT = gs.getMessage("Preview changes");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var DELETE = gs.getMessage("Delete");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var CONFIRM_DELETE = gs.getMessage("Confirm deletion of this article and all its revisions?");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var TITLE_CANCEL = gs.getMessage("Cancel changes");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var MESSAGE_CANCEL = gs.getMessage("Discard all changes?");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var TITLE_RETIRE = gs.getMessage("Retire");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var MESSAGE_RETIRE = gs.getMessage("Retire this article?");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; // Status messages for the message bar.&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var DRAFT_MSG = gs.getMessage("This knowledge item has been created");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var REVIEW_MSG = gs.getMessage("This knowledge item has been published");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var PUBLISHED_MSG = gs.getMessage("This knowledge item has been published");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var PEND_RETIRE_MSG = gs.getMessage("This knowledge item has been retired");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var RETIRED_MSG = gs.getMessage("This knowledge item has been retired");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var DELETE_FAIL_MSG = gs.getMessage("This article could not be deleted");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var TXT_PLACEHOLDER = gs.getMessage("Add content");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; if (isValidRecord) {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var knowledgeRecord = kbViewModel.knowledgeRecord;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var canContributeToKnowledge = canContributeHelper.canContribute(kbViewModel.knowledgeRecord);&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var publishedRecord = kbViewModel.publishedRecord;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var feedbackRecords = kbViewModel.feedbackRecord;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var bannerImage = kbViewModel.bannerImage;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var authorImage = kbViewModel.authorImage;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var authorName = kbViewModel.authorName;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var authorCompany = kbViewModel.authorCompany || kbViewModel.getAuthorInfo("author.company.name");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var authorDepartment = kbViewModel.authorDepartment || kbViewModel.getAuthorInfo("author.department.name");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var authorTitle = kbViewModel.authorTitle || kbViewModel.getAuthorInfo("author.title");&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var i18n = function(message, array) {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; message = message || "";&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var padded = " " + message + " ";&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var translated = gs.getMessage(padded, array);&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var trimmed = translated.trim();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; return trimmed;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; };&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var canCreateNew = kbViewModel.canCreateNew;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var isNewRecord = kbViewModel.isNewRecord;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var published = "";&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var sys_updated_on = "";&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; if (kbViewModel.publishedRecord) {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; published = kbViewModel.publishedRecord.published;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; sys_updated_on = kbViewModel.publishedRecord.sys_updated_on;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var number = knowledgeRecord.number;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var permalink = kbViewModel.permalink;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var category = knowledgeRecord.category;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var attachments = kbViewModel.attachments;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var disableSuggesting = knowledgeRecord.disable_suggesting;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var glideWikiModel = new GlideWikiModel();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; glideWikiModel.setLinkBaseURL(glideWikiModel.getLinkBaseURL() + "${AMP}sysparm_field=kb_knowledge.wiki" + "${AMP}sysparm_kbtable=" + kbViewInfo.tableName);&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var relatedContent = kbViewInfo.relatedContent || kbViewInfo.getCurrentRelatedContent();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var isVersion2 = new KBCommon().isKBVersion2(knowledgeRecord.kb_knowledge_base);&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; if (isVersion2) {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; if (jelly.sysparm_context == 'popup')&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; uiMacro = "kb_view_legacy_popup";&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; else&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; uiMacro = "kb_view_legacy";&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;/g:evaluate&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;script&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var kbConfig = {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; canContribute: '${canContributeToKnowledge}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; historyRowCount: ${historyRowCount},&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; i18n: {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; STATUS_MSG: {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; draft: '${DRAFT_MSG}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; review: '${REVIEW_MSG}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; published: '${PUBLISHED_MSG}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; pending_retirement: '${PEND_RETIRE_MSG}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; retired: '${RETIRED_MSG}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; delete_failed: '${DELETE_FAIL_MSG}'&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; },&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; TXT_PLACEHOLDER: '${TXT_PLACEHOLDER}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; NOT_RETIRED: '${NOT_RETIRED}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; NOT_PUBLISHED: '${NOT_PUBLISHED}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; NOT_SAVED: '${NOT_SAVED}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; SAVED: '${SAVED}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; DISCARDED: '${DISCARDED}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; SUBMITTED: '${SUBMITTED}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; PREVIEW: '${PREVIEW}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; PREVIEW_HINT: '${PREVIEW_HINT}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; CONFIRM_DELETE: '${CONFIRM_DELETE}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; DELETE: '${DELETE}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; TITLE_RETIRE: '${TITLE_RETIRE}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; MESSAGE_RETIRE: '${MESSAGE_RETIRE}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; TITLE_CANCEL: '${TITLE_CANCEL}',&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; MESSAGE_CANCEL: '${MESSAGE_CANCEL}'&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; };&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; $j(function() {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; if (parent.document) {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; // fix iframe resize issue for CMS service portal&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; parent.CustomEvent.fire('content_frame.resized', window.name, parent.document.body.scrollHeight);&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; });&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;/script&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;j:choose&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;j:when test="${isVersion2}"&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt; &amp;nbsp; Congratulations you got a message 1!&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;g:inline template="${uiMacro}"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;/j:when&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;j:when test="${isValidRecord &amp;amp;amp;&amp;amp;amp; knowledgeHelp.hasRights(knowledgeRecord)}"&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333330154419px;"&gt; &amp;nbsp; Congratulations you got a message 2!&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;g:inline template="kb_view_common" /&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;/j:when&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;j:when test="${knowledgeExists}"&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333330154419px;"&gt; &amp;nbsp; Congratulations you got a message 3!&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;g:inline template="kb_view_cannot_read"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;/j:when&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;j:otherwise&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;g:inline template="kb_view_not_valid_record"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;/j:otherwise&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; &amp;lt;/j:choose&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&amp;lt;/j:jelly&amp;gt;&lt;/P&gt;&lt;BR /&gt;
&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Jul 2015 08:15:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158362#M114751</guid>
      <dc:creator>bernyalvarado</dc:creator>
      <dc:date>2015-07-10T08:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158363#M114752</link>
      <description>&lt;P&gt;Hi Berny,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The script which you mentioned above is working fine, I tested this in Fuji version in one of the demo instance. But we are in Eureka version. We have different version of the search functionality. I can copy the code which we have in our instance for you reference here.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;code in the html tab;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;script&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;script&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;link href="kb_styles.cssx" type="text/css" rel="stylesheet" /&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;g:include_script src="KnowledgeFunctions.jsdbx"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;style type="text/css"&amp;gt;&lt;BR /&gt; A {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color:blue;&lt;BR /&gt; &amp;nbsp; text-decoration: underline; &lt;BR /&gt; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;BR /&gt; }&lt;BR /&gt; TABLE {&lt;BR /&gt; &amp;nbsp; white-space: normal;&lt;BR /&gt; }&lt;BR /&gt; IMG {&lt;BR /&gt; &amp;nbsp; visibility: visible;&lt;BR /&gt; &amp;nbsp; display: inline;&lt;BR /&gt; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .kb_options {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; border:1px solid #dddddd;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; background-color:#f6f6f6;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .kb_options_header {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; font-weight:bold;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color:#666666;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding-left:3px;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; background-color: #EEEEEE;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .kb_link {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding-left:10px;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .kb_link A {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color: blue;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text-decoration: none;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .kb_link A:hover {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text-decoration: underline;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .kb_link_disable {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding-left:10px;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .kb_link_disable A {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color: #666666;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text-decoration: none;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cursor:default;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;lt;/style&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;lt;g2:evaluate var="jvar_item" jelly="true"&amp;gt;var kb = new KnowledgeHelp().findArticle(); kb;&amp;lt;/g2:evaluate&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;j2:set var="jvar_valid_article" value="$[new KnowledgeHelp(kb).isValidArticle()]"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;j2:set var="jvar_has_rights" value="$[new KnowledgeHelp().hasRights(kb)]"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;g2:evaluate var="jvar_css_name"&amp;gt;new KnowledgeHelp(kb).findDisplayCSS();&amp;lt;/g2:evaluate&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;link href="styles/$[jvar_css_name]x?v=${gs.getProperty('glide.builddate')}" type="text/css" rel="stylesheet" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;g2:evaluate var="jvar_links" object="true"&amp;gt;&lt;BR /&gt;var links = [];&lt;BR /&gt;if (!$[jvar_valid_article])&lt;BR /&gt;links = ["Knowledge Home"]; &lt;BR /&gt;links;&lt;BR /&gt;&amp;lt;/g2:evaluate&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;lt;table class="wide kb_header_row" cellspacing="0" border="0" style="margin-bottom: 8px;"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td class="title" nowrap="true"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;g:inline template="kb_header.xml" /&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;lt;table class="wide" cellspacing="0" border="0" style="margin-bottom: 8px;"&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;form method="GET" action="${sysparm_base_form}.do" name="${sysparm_base_form}.do"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;input type="HIDDEN" name="sys_action" id="sys_action" value="none" /&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;input type="HIDDEN" name="sys_id" id="sys_id" value="$[JS:kb.sys_id]" /&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;!-- view_id is used to consolidate actions from a single view, e.g. rating, feedback, etc. --&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;input type="HIDDEN" name="view_id" id="view_id" value="$[gs.generateGUID()]" /&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;input type="HIDDEN" name="sysparm_modify_check" id="sysparm_modify_check" value="true" /&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;g2:emitParms suppress="sysparm_this_url_enc"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;lt;table class="wide" cellspacing="0"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;tr class="header kb_header_title_row"&amp;gt;&amp;lt;td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;table border="0" class="wide" cellspacing="0" cellpadding="0"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;tr class="header" border="0" cellspacing="0"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g:inline template="kb_stripe_text" /&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;j2:if test="$[kb.canWrite()]"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;j2:if test="$[RP.isInteractive() ${AND} jvar_valid_article]"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;button name="not_important" type="button" class="header" style="white-space:nowrap;" onClick="doSomethingAPPL();"&amp;gt;$[ gs.getMessage("Email Article") ]&amp;lt;/button&amp;gt; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/j2:if&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/j2:if&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;j2:if test="$[sysparm_nameofstack == 'kbpop']"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g:evaluate var="jvar_search_fields" expression="gs.getProperty('glide.knowman.attach.fields');" /&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g2:evaluate var="jvar_attach_button_msg"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var label = Packages.com.glide.script.MetaData.getTableLabel("${sysparm_kb_search_table}");&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (label != null $[AND] label != "")&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.getMessage("Attach to") + " " + label;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.getMessage("Attach to record");&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/g2:evaluate&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;button name="not_important" value="sysverb_attach" class="header" style="white-space:nowrap;" onClick="return attachIncident2(this, '${jvar_search_fields}');"&amp;gt;$[jvar_attach_button_msg]&amp;lt;/button&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/j2:if&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td style="color:#999999;font-size: 80%;padding-top:6px;padding-bottom:8px;"&amp;gt;&lt;BR /&gt;&amp;lt;j2:if test="$[jvar_valid_article]"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;g:inline template="kb_article_header.xml" /&amp;gt;&lt;BR /&gt;&amp;lt;/j2:if&amp;gt;&lt;BR /&gt;&amp;lt;j2:if test="$[!jvar_valid_article]"&amp;gt;&lt;BR /&gt;$[gs.getMessage("Unfortunately the article you are looking for could not be found.")]&lt;BR /&gt;&amp;lt;/j2:if&amp;gt;&lt;BR /&gt; &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g2:evaluate var="jvar_display"&amp;gt;new KnowledgeHelp(kb).findDisplayValue();&amp;lt;/g2:evaluate&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g2:evaluate var="jvar_display_td_class"&amp;gt;new KnowledgeHelp(kb).findDisplayClass();&amp;lt;/g2:evaluate&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;g:kb_languages /&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td class="$[jvar_display_td_class]" valign="top"&amp;gt;&amp;lt;g2:no_escape&amp;gt;$[NS:jvar_display]&amp;lt;/g2:no_escape&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;td class="kb_text" valign="top"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;div style="padding-top:10px;"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;g:inline template="kb_view_custom.xml"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;BR /&gt; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;div style="padding-top:10px;"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;hr /&amp;gt; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;BR /&gt; &amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;j2:if test="$[jvar_valid_article ${AND} jvar_has_rights]"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table class="wide" cellspacing="0"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td width="99%" style="padding-top:0px; vertical-align:top;"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;table class="wide"&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g:inline template="kb_feedback_section.xml" /&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- list of files attached to the article --&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g:inline template="kb_attachment_list.xml" /&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- list of products to which this article pertains --&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g:inline template="kb_affected_products.xml"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- list of tasks to which this article has been attached --&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g:inline template="kb_attached_tasks.xml"/&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;lt;g:evaluate var="jvar_can_see_comments"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var roles = gs.getProperty("glide.knowman.show_user_feedback.roles");&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.hasRole(roles);&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/g:evaluate&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;j:if test="${jvar_can_see_comments}"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;j:set var="jvar_show_comments_onload" value="${gs.getProperty('glide.knowman.show_user_feedback') == 'onload'}"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g:evaluate var="jvar_comments_style_display"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ("${jvar_show_comments_onload}" == "true")&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "block";&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "none";&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/g:evaluate&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table class="wide"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div id="feedback_comments" style="display:none; color:#404040;"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;j:if test="${jvar_show_comments_onload}"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;script&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addLoadEvent(function() {feedbackCommentsToggle('$[JS:kb.sys_id]');});&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/j:if&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/j:if&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;!-- outputs an article's footer info: link, viewcount --&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;table class="wide" cellspacing="0"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td style="color:#999999; font-size:80%; padding-top:8px;"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g:inline template="kb_article_footer.xml" /&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g:inline template="kb_ratings.xml" /&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/j2:if&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;lt;/form&amp;gt;&lt;BR /&gt; &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/j:jelly&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;code inside the client script:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function onLoad() {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; //Append the table name to get the field id&lt;BR /&gt; &amp;nbsp; &amp;nbsp; try{&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Create the image element and add to the dom&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var img = document.createElement('img');&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; img.src = "images/icons/email.gifx";&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; img.alt="Email to Client";&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; img.title="Email to Client";&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var link = document.createElement('a');&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (navigator.appName == "Microsoft Internet Explorer"){ link.setAttribute('onclick', Function('doSomethingAPPL()'));&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; else{&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; link.setAttribute('onsubmit', 'doSomethingAPPL()');&lt;BR /&gt; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; link.name="outlook_email";&lt;BR /&gt; &amp;nbsp; &amp;nbsp; link.id="outlook_email";&lt;BR /&gt; &amp;nbsp; &amp;nbsp; link.appendChild(img);&lt;BR /&gt; &amp;nbsp; &amp;nbsp; var bb = document.getElementsByName("make_spacing_ok")[0];&lt;BR /&gt; &amp;nbsp; &amp;nbsp; bb.parentNode.removeChild(bb);&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; document.getElementById('header_add_attachment').parentNode.appendChild(link);&lt;BR /&gt;}&lt;BR /&gt;catch(e){&lt;BR /&gt; &amp;nbsp; &amp;nbsp; //alert('Error');&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function doSomethingAPPL() {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; var sys = gel('sys_id').value;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; var kb = &amp;nbsp; new GlideRecord('kb_knowledge');&lt;BR /&gt; &amp;nbsp; &amp;nbsp; kb.addQuery('sys_id',sys);&lt;BR /&gt; &amp;nbsp; &amp;nbsp; kb.query();&lt;BR /&gt; &amp;nbsp; &amp;nbsp; if(kb.next())&lt;BR /&gt; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp; &amp;nbsp; //var link &amp;nbsp; = '&lt;/SPAN&gt;&lt;A title="k-external-small" class="jive-link-external-small" href="https://invescodev.service-now.com/nav_to.do/uri=kb_knowledge.do/sys_id" rel="nofollow" target="_blank"&gt;https://invescodev.service-now.com/nav_to.do/uri=kb_knowledge.do/sys_id&lt;/A&gt;&lt;SPAN&gt; ='+sys;&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp; &amp;nbsp; //'&lt;/SPAN&gt;&lt;A title="k-external-small" class="jive-link-external-small" href="https://invescodev.service-now.com/nav_to.do/uri=kb_knowledge.do/sys_id" rel="nofollow" target="_blank"&gt;https://invescodev.service-now.com/nav_to.do/uri=kb_knowledge.do/sys_id&lt;/A&gt;&lt;SPAN&gt; ='+ gel('sys_uniqueValue').value;&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; //alert(g_form.getUniqueValue());&lt;BR /&gt; &amp;nbsp; &amp;nbsp; var msolemail = "mailto:"+ "&amp;amp;subject=" + "Check out this Knowledge Article" + ": " + kb.number+" - "+ kb.short_description+"&amp;amp;body=" + "&lt;A title="nvesco.service-now.com/kb_view.do%3Fsysparm_article="&gt;https://invesco.service-now.com/kb_view.do%3Fsysparm_article="+kb.number&lt;/A&gt;;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; //g_form.getValue('number');&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; // &amp;nbsp; mailItem.display (0);&lt;BR /&gt; &amp;nbsp; &amp;nbsp; window.location.href = msolemail;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;BR /&gt;}&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2015 09:55:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158363#M114752</guid>
      <dc:creator>dineshkumarmogu</dc:creator>
      <dc:date>2015-07-10T09:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158364#M114753</link>
      <description>&lt;P&gt;Hi Dinesh, it appears that you could add your message right here:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12px; font-family: arial, sans-serif; color: #666666; background-color: #f6f6f6;"&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12px; font-family: arial, sans-serif; color: #666666; background-color: #f6f6f6;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;Your message could go here. &lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12px; font-family: arial, sans-serif; color: #666666; background-color: #f6f6f6;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g2:evaluate var="jvar_display"&amp;gt;new KnowledgeHelp(kb).findDisplayValue();&amp;lt;/g2:evaluate&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;g2:evaluate var="jvar_display_td_class"&amp;gt;new KnowledgeHelp(kb).findDisplayClass();&amp;lt;/g2:evaluate&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12px; font-family: arial, sans-serif; color: #666666; background-color: #f6f6f6;"&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2015 14:36:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158364#M114753</guid>
      <dc:creator>bernyalvarado</dc:creator>
      <dc:date>2015-07-10T14:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158365#M114754</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;When the article goes in "Review" state, the message is the same than when it is Published : "This knowledge item has been published".&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I changed it in the UI View, but it still gives the wrong message. Any idea ?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Original:&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 13px; font-family: arial, sans-serif; color: #666666;"&gt;var DRAFT_MSG = gs.getMessage("This knowledge item has been created");&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 13px; font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; var REVIEW_MSG = gs.getMessage("This knowledge item has been published");&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 13px; font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; var PUBLISHED_MSG = gs.getMessage("This knowledge item has been published");&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 13px; font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; var PEND_RETIRE_MSG = gs.getMessage("This knowledge item has been retired");&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 13px; font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; var RETIRED_MSG = gs.getMessage("This knowledge item has been retired");&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Aug 2015 15:49:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158365#M114754</guid>
      <dc:creator>marieminou_</dc:creator>
      <dc:date>2015-08-10T15:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158366#M114755</link>
      <description>&lt;P&gt;Hello Berny,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;is it possible to show a message when articles is in retired state ?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Eashwar Elumalai&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Mar 2017 21:32:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158366#M114755</guid>
      <dc:creator>eashwar</dc:creator>
      <dc:date>2017-03-13T21:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display an info message when we open the knowledge article based on the Sate of the article through knowledge search under the selfservice??</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158367#M114756</link>
      <description>&lt;P&gt;hi berny,&lt;/P&gt;
&lt;P&gt;By adding the text in those lines, the text is appearing under the header very close to it. How to get a space between the header and the text on knowledge article in kb_view page? Please guide me with what to change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Pravallika&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 08:52:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/is-there-a-way-to-display-an-info-message-when-we-open-the/m-p/1158367#M114756</guid>
      <dc:creator>Pravallika1</dc:creator>
      <dc:date>2021-11-08T08:52:04Z</dc:date>
    </item>
  </channel>
</rss>

