Knowledge Management, Related Articles - how to see them?

phenkry
Tera Contributor

Hi community,

When we relate Articles to other Articles (using the related list at the bottom of the article) the related article links show up just fine in the widget in the Service Portal.

But what about in the back-end (UI16) for fulfillers such as Service Desk, 2&3 level etc? When viewing an article, how are they supposed to see any related articles? I can't see it anywhere!

thanks in advance, Parker

7 REPLIES 7

Saurav11
Kilo Patron
Kilo Patron

Hello,

Can you paste some screenshots of the issue so it will help to assist you

Thanks.

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Haven't seen such before on the Platform UI, only on Portal.

Did have a quick look on Docs, though not something really clear mentioned on this.

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

amarks
Tera Expert

Hi Parker, I'm curious to know if you ever found a solution to this. We are having the same challenge.

@phenkry 

I updated the system UI macros, kb_view_common_footer to include a new macro which i based off the UI macro "kb_affected_products_v3" which shows the related articles.

 

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">

	<!-- list of articles to which this article pertains -->
	
		<j:set var="jvar_kb_show_articles" value="${gs.getProperty('glide.knowman.related_articles.display','true')}"/>
		<j:if test="${jvar_kb_show_articles}">
		<g2:evaluate var="articles" jelly="true" expression="
			var articles = new GlideRecord('kb_2_kb');
            if (typeof jelly.sys_kb_id != 'undefined')
              articles.addQuery('kb_knowledge', jelly.sys_kb_id);
            else if (jelly.sysparm_article){
				if(kbViewModel.knowledgeRecord)
					articles.addQuery('kb_knowledge', kbViewModel.knowledgeRecord.getUniqueValue());
				else
					articles.addQuery('kb_knowledge.number', jelly.sysparm_article);
			}
			articles.orderBy('related_kb_knowledge.short_description');
			articles.query();
			"/>
		<j2:if test="$[articles.hasNext()]">

			<div id="kb_related_articles" class="snc-article-affected-products">

				<span class="snc-article-footer-metadata-title">${gs.getMessage("Related articles")}$[SP]</span>
				<span id="related-articles-content" class="related-articles-content">
					<j2:while test="$[articles.next()]">
						<j2:if test="$[articles.related_kb_knowledge.canReadRef() &amp;&amp; !readOnlyPage]">
							<a href="./kb_view.do?sys_kb_id=$[articles.related_kb_knowledge]">$[HTML:articles.related_kb_knowledge.short_description]</a><j2:if test = "$[articles.hasNext()]">,$[SP]</j2:if>
						</j2:if>
						<j2:if test="$[!articles.related_kb_knowledge.canReadRef() || readOnlyPage]">
							$[HTML:articles.related_kb_knowledge.short_description]<j2:if test = "$[articles.hasNext()]">,$[SP]</j2:if>
						</j2:if>
					</j2:while>
				</span>
			</div>
		</j2:if>
		</j:if>
</j:jelly>