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

Tom Boyle
Mega Expert

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.

find_real_file.png

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?

5 REPLIES 5

Sean71
Tera Contributor

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):

Sean71_0-1702056196717.png