Hide KB articles in draft and review state from portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 08:18 AM
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 ?
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 08:23 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 08:26 AM
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. |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 08:29 AM
Hi Pranesh,
Yes checked and modified all of the above. I can still see articles in draft and review state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 08:31 AM
Are you using admin for testing?