How to hide authors from the Version info of Knowledge Article Content widget

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2019 01:51 AM
We would like to not advertise the authors/updaters/revisors of our Knowledge base articles on our Support Portal.
We are using article versioning and I have come unstuck when I try to remove the user from the Version text.
Here, I have blurred out the users, this is what we would like to remove.
I have looked into the HTML and believe this to be contained as part of version.versionText.
This also contains the date which we do want, so I don't want to remove the tag completely.
But can't find a way to edit the content of versionText.
Any ideas?
- Labels:
-
Knowledge Management
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2023 09:23 AM
Came across this thread as I needed to accomplish the same goal for a client. I found a (relatively simple) solution for this and wanted to share here in case anyone else needs to in the future:
1. Within the 'KBViewModelSNC' script include, copy the 'getVersionHistory' function.
2. Open the customer editable 'KBViewModel' script include and paste the getVersionHistory function there to override the SNC version.
3. Within the editable function, update the lines that call for the system message "Updated on {0} by {1}" to the desired message. I simply removed the "by {1}" part of the message. Fully updated script below:
KBViewModel script include (updated lines highlighted):