- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2019 12:13 PM
Hi,
Can someone help me if there is any property to disable the viewsIs there a way we could hide the number of views from knowledge article.
Tried setting this property to false but it didnt work - glide.knowman.search.show_view_coun.
Please advice.
Thanks,
Vignesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2019 05:06 AM
Hi Vignesh,
Sadly this widget doesn't care about the property. The only time it doesn't show is if the view count is 0, then it's hidden. Here is a screen shot from the widget code that shows you that it doesn't care about the property:
Now, if you want to remove it or make it dependent on the property you will need to clone this widget and make a small "ng-if" to check the value of the property. Let me know if you get stuck into this if you trying to achieve it.
//Göran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2019 12:32 PM
After changing that property, you may want to try flushing the cache.
https://community.servicenow.com/community?id=community_question&sys_id=d45643e1db1cdbc01dcaf3231f961981
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2019 12:50 PM
Thanks for the response David,
Unfortunately the view number is shown even after setting that property to false and clearing the cache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2019 05:06 AM
Hi Vignesh,
Sadly this widget doesn't care about the property. The only time it doesn't show is if the view count is 0, then it's hidden. Here is a screen shot from the widget code that shows you that it doesn't care about the property:
Now, if you want to remove it or make it dependent on the property you will need to clone this widget and make a small "ng-if" to check the value of the property. Let me know if you get stuck into this if you trying to achieve it.
//Göran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2019 06:44 AM
Thanks Goran !! Appreciate your help.