Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Hide author option from Knowledge article in Service Portal

A_maity002
Tera Contributor

Hello,
We have a requirement to remove the author / revised by in a knowledge articles displayed in the portal.
PFA.

Kind Regards,
Atanu Maity

7 REPLIES 7

Vijayalakshmi P
Kilo Sage

Hi @A_maity002 

Navigate to widget - Knowledge Article Content, Create a clone of it and comment out the line which populates the variable "data.revisionString" in the server script.
Finally, add this new widget to your page.

Hello @Vijayalakshmi P ,

It will be issue for cloning the widgets. If further upgrade is happening or implementing widgets instance. Is there any other solution to edit OOTB widgets without cloning it ?

Hi, as far as I am aware, we cannot edit OOTB widgets.

Radek
Tera Expert

remove 'Revised by' by configuring the Instance Options - Knowledge Article Content by adding CSS

 

.author {
display: none;
}

 

There is no need to clone and modify OOB widget. Although, if you use versioning there will be some name still included in the version options