how can we restrict some knowledge articles not to be getting searched from global search option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 08:52 PM
Hi all
I have a requirement like this that for one department we are building a service portal, and for that department there are almost 7000 knowledge articles, but they are no useful for other department or client don't want that these knowledge articles to be searched from any global search.
So is there a way that we can restrict those knowledge articles from not getting searched from global search option.
Is this requirement feasible or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 09:30 PM
Hi Anshul,
You would need to add the Department field to the KB form and then have an ACL in place that blocked read access to that article if the users department doesn't equal the department on the article.
Thanks,
Joonas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 09:41 PM
You could use this for ACL which allows users who are members of that department read the knowledge articles and restrict from those who are not members of that department.
var user = gs.getUser();
if ( user.isMemberOf('u_knowledge_department' )) {
answer = true;
} else {
answer = false;
}
Thanks,
Joonas
If this reply assisted you, please consider marking it correct, helpful, or liking it.
This enables other customers to learn from your thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 09:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 08:32 AM
The ServiceNow Wiki content is no longer supported. Updated information about this topic is located here: Knowledge Properties
Visit http://docs.servicenow.com for the latest product documentation