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.

How to print article from Service Portal.

niveditakumari
Mega Sage

Hi,

 

I should be able to navigate as an end user to an article and be able to click on something that allows me to print the article (without printing the entire webpage). 

When we open article on Service Portal and click on ctrl + P to print article then it is printing other things like Impersonate, Logout, Tours, I don't need this things to print. I need only KB article to be printed. 

I have done ctrl + P and it is printing many things. Please see attached screenshot. 

 

niveditakumari_0-1687197044540.png

 

Can anyone please help me how to print article instead other things. 

 

Regards, 

Nivedita

 

 

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hello @niveditakumari ,

 

Please refer this share project "Add wordcount and print functionality on knowledge article (Portal)".

URL: https://developer.servicenow.com/connect.do#!/share/contents/2421893_add_wordcount_and_print_functio...

 

Go to this URL and download the update set and commit it. This is for two things: to count words in the knowledge base and also have print functionality. So if you don't want word count, then remove or comment that part of the code of the widget.

 

OR pls refer:

https://www.servicenow.com/community/developer-forum/printing-knowledge-article/m-p/1484570

https://www.servicenow.com/community/now-platform-forum/printing-kb-article-from-service-portal/m-p/...

https://www.servicenow.com/community/developer-forum/how-to-add-printer-friendly-option-in-kb-articl...

 

 

@niveditakumariPlease mark my answer as "Accept as Solution" and "Helpfuls." If it works for you.

 

Thank you!

View solution in original post

13 REPLIES 13

Hello @Community Alums, 

 

I have done as you have mentioned and I'm able to see print icon but issue has not been fixed. 

When I'm clicking on that print icon it is again printing many other things like My Tasks which it should not be like that.

 

niveditakumari_2-1687890012607.png

 

 

I have to print only knowledge article not other things. 

Please help me to achieve that. 

 

Regards, 

Nivedita

 

 

Community Alums
Not applicable

Hello @Community Alums, 

 

It should also work in HR4u portal if it is working in service portal. 

How both portal is different. 

 

Regards, 

Nivedita

 

 

niveditakumari
Mega Sage

Hi, 

 

Can anyone please help me to achieve requirement. 

 

Regards, 

Nivedita