How to show 'flag article' button when article is published

Rose17
Tera Contributor

Hi All,

I want to show flag article button when an article is published.

Currently, i am not able to see the flag article button. I checked the relevant properties, they all are set to true.

Still i am not able to see the flag article button.

So the requirement is- Firstly I want to see the flag article button on the article. After that, when the button appears, i want to put a condition as- show flag article button when article is published.

Could someone help me achieve this?

Your help is highly appreciated. @Ankur Bawiskar 

Thanks in advance.

2 REPLIES 2

Community Alums
Not applicable

Hi Rose,

The button itself is defined in the UI Macro: kb_view_common_header_toolbar

The script that handles the click action of this button is in the UI Script: KBViewArticle (method: flagArticleHandler)

Also,

The "Flag article" button is depending on the field "Disable suggesting" value on the article. This value is normally inherited by the Knowledge Base, however if the article is moved around knowledge bases, it's possible for it to be different.

It's not usually visible on the form by default, the easiest way to check would be to add those columns to a list view for articles:

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Disable suggestion for knowledge base of the articles was checked(true). I unchecked the disable suggesting checkbox for the knowledge base. The article under the KB then showed disable suggesting as false. Still i cannot see the flag button on the article.