- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 11:21 AM
Hello,
Does any one help me on adding info message to the articles in the kB view.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 05:40 PM
Sorry for delayed response but got busy with something else.
1> Change application to Knowledge Management - Service Portal
2 > Open portal page called kb_article_view
3> Clone widget Called "Knowledge Article Content"
4> add below code to cloned widget
if(knowledgeRecord.workflow_state == 'retired'){
gs.addInfoMessage('Article has been retired');
}
5> change widget on page from Knowledge Article Content to new cloned widget.
Screenshot that will help;
Result:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2020 06:26 AM
Thank you so much Mike for your assistance. It is working as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 07:46 AM
Hi Mike,
I am not able to see your screenshots, could you please repost the solution for this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 05:41 PM
Cross-posting on different forum is highly discouraged as well as posting the same answer to these posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2024 05:48 AM
I am trying to do the same thing as the OP where I need to display message that the article is retired (in the kb_view page). However I cannot see the images above in the solution. Can someone who can see the images kindly post those there?