Hide KB articles in draft and review state from portal

Kumar Abhishek2
Kilo Contributor

I have  a requirement where I need to hide KB articles in draft and review state from portal. I checked and modified the available system properties but KB articles are still visible on the portal. Can we do it using query business rule or an ACL would be more helpful ? Also how to configure them ?

11 REPLIES 11

bammar
Kilo Sage
Kilo Sage

Go to the widget and see how it is querying the KB article table- then modify that glidequery. Also its probably obvious, i assume that you logged in as someone else- non admin and checked the portal for the items you protected. 

Pranesh072
Mega Sage
Mega Sage

have you updated following roles?

Show unpublished articles in Knowledge Base portal and topic lists (glide.knowman.show_unpublished)Select the check box to allow users to see unpublished articles in the knowledge portal and knowledge search results. Use the subsequent List of roles... properties to designated which users can see articles in various unpublished states. If this is not selected, users with appropriate roles can access unpublished articles through other modules of the Knowledge Base application.
List of roles (comma separated) that can see articles in the Review workflow state in the Knowledge portal and Topic list (glide.knowman.section.view_roles.review)Enter role names exactly as they appear in User Administration Roles. If Show unpublished articles in Knowledge Base portal and topic lists is selected, users with these roles see articles in the Review workflow state in the knowledge portal, in the topic list that appears when they click a topic title on the portal, and in knowledge search results.
List of roles (comma separated) that can see articles in the Draft workflow state in the Knowledge portal and Topic list (glide.knowman.section.view_roles.draft)Enter role names exactly as they appear in User Administration Roles. If Show unpublished articles in Knowledge Base portal and topic lists is selected, users with these roles see articles in the Draft workflow state in the knowledge portal, in the topic list that appears when they click a topic title on the portal, and in knowledge search results.
Define roles that can view articles in other/custom workflow states (glide.knowman.section.view_roles.stagesAndRoles)Enter role names exactly as they appear in User Administration > Roles. If Show unpublished articles in Knowledge Base portal and topic lists is selected, define the custom field and role as workflow state:[roles];. The users with these roles see articles in the custom workflow state on the knowledge portal.

The property is not applicable to the retired knowledge articles. Only users with the knowledge_admin role can view retired articles.

 

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/product/knowledge-management/refer...

Hi Pranesh,

Yes checked and modified all of the above. I can still see articles in draft and review state.

 

Are you using admin for testing?