Service Portal Search should split knowledge and catalog items

bsk
Kilo Expert

Q1)Service Portal Search selection should group   knowledge articles and catalog items separate it displays all together now.Is there any way to group them in typeahead search PFA.

Q2) Can any suggest me on how to label Knowledge Article on header and show list of articles below that and similar to label service catalog and catalog list below that .Rather then displaying knowledge article and service catalog for each entry.

test search.PNG

1 ACCEPTED SOLUTION

Thanks for your response i found solution by making some script changes and it worked comunity.PNG


View solution in original post

32 REPLIES 32

Hi Devika U,



It seems like you are using custom widget for "typeahead search". Make sure to verify that in server script of that widget you comment on { get display "description" } or in function "service catalog" comment this line


"item.label = item.name +" -   "+ item.description;"



Hope this fixes your issue.


Hi Bsk,



Thanks for the reply. I used the above code for search, but knowledge articles are shown first and catalogs are below .. How can we change the order of it.


Also its displaying results even when there is nothing entered in the search.


Please help!!



Regards,


Gope


r_
Mega Contributor

Can you please provide me the code 

 

 

Community Alums
Not applicable

Hi bsk,

I have one requirement on portal search - "how to split the Service portal search by two columns"

Could you please let me know if you have any idea and also find the below SS for your understanding 

find_real_file.png

 

find_real_file.png

Ashish Srivast3
Tera Contributor

Good Da bsk, 

could you please let know where and what changes you made to achieve these results ( splitting service catalog or KB). 

 

 

Thanks!!