How to remove the "All" option from knowledge base dropdown

Sonam17
Tera Contributor

Hi, 

Can anyone please help in "How to remove the "All" option from knowledge base dropdown and set the 1st available option as default in employee center."

 

 

Sonam17_1-1747207701896.png

 

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Sonam17 

I don't think any configuration can be done for this

But you will have to play with the widget by cloning it and then write your own logic

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Sonam17 

It’s not possible to remove all, as multiple KBs are added, and they will all appear as options to allow for searching across all of them at once. This is the expected behavior.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Sonam17
Tera Contributor

By any chance can we put the "All" option at the bottom instead of first. If yes, please let me know what changes I need to do to achieve this.

@Sonam17 

did you check which widget does that filtering?

see the code and analyse

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader